﻿/* ===== 基礎重置（取代原專案的 Tailwind preflight，維持相同呈現） ===== */
*, ::before, ::after, ::backdrop {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}
body { line-height: inherit; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
ol, ul, menu { list-style: none; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
button, input, optgroup, select, textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
}
button, input[type="button"], input[type="reset"], input[type="submit"] { appearance: button; }
::placeholder { opacity: 1; color: color-mix(in oklab, currentColor 50%, transparent); }
textarea { resize: vertical; }

:root {
  --ink: #16261f;
  --muted: #66756e;
  --line: #dce5e0;
  --soft: #f4f8f6;
  --green: #14875f;
  --green-dark: #0c5b41;
  --lime: #b8dd3b;
  --orange: #f7a620;
  --white: #fff;
  --shadow: 0 24px 70px rgba(18, 58, 43, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
address { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 1000; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; }
.skip-link:focus { top: 18px; }

.site-header { position: sticky; top: 0; z-index: 100; height: 82px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(22,38,31,.08); backdrop-filter: blur(18px); }
.header-inner { width: min(1320px, calc(100% - 48px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand > span { display: grid; line-height: 1.05; }
.brand strong { font-size: 22px; letter-spacing: .12em; color: var(--green-dark); }
.brand small { margin-top: 5px; font-size: 10px; color: #506058; letter-spacing: .06em; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(13px, 1.6vw, 28px); margin-left: auto; }
.site-nav a { position: relative; padding: 30px 0; font-size: 14px; font-weight: 700; color: #32463d; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 50%; bottom: 21px; width: 0; height: 2px; background: var(--green); transition: .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { left: 0; width: 100%; }
.header-contact { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.header-contact:hover svg { transform: translateX(3px); }
.header-contact svg { transition: .2s; }
.menu-toggle, .nav-contact-mobile { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 14px 34px rgba(20,135,95,.25); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border: 1px solid #cbd8d2; background: rgba(255,255,255,.86); color: var(--ink); }
.button-light { background: #fff; color: var(--green-dark); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .2em; }

.home-hero { position: relative; min-height: 700px; overflow: hidden; background: radial-gradient(circle at 85% 10%, rgba(184,221,59,.18), transparent 32%), linear-gradient(135deg, #f8fbf9 0%, #fff 55%, #f2f8f5 100%); }
.home-hero-grid, .page-hero-grid { position: absolute; inset: 0; opacity: .38; background-image: linear-gradient(rgba(20,135,95,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20,135,95,.07) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, #000, transparent 78%); }
.home-hero-inner { position: relative; width: min(1320px, calc(100% - 48px)); min-height: 700px; margin: auto; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 50px; padding: 64px 0; }
.home-hero-copy h1 { margin: 22px 0 22px; font-size: clamp(52px, 5.3vw, 82px); line-height: 1.08; letter-spacing: -.055em; }
.home-hero-copy h1 em { color: var(--green); font-style: normal; }
.home-hero-copy > p { max-width: 610px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.95; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats { display: flex; gap: 28px; margin-top: 45px; }
.hero-stats div { display: grid; gap: 4px; padding-right: 28px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border: 0; }
.hero-stats strong { font-size: 21px; color: var(--green-dark); }
.hero-stats span { color: var(--muted); font-size: 11px; }
.home-hero-visual { position: relative; min-height: 580px; display: flex; align-items: center; justify-content: center; }
.home-hero-visual::before { content: ""; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(20,135,95,.18); box-shadow: inset 0 0 70px rgba(20,135,95,.08); }
.home-hero-visual img { position: relative; z-index: 1; width: 100%; max-height: 570px; object-fit: contain; filter: drop-shadow(0 30px 36px rgba(12,91,65,.17)); }
.hero-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid rgba(20,135,95,.18); border-radius: 15px; background: rgba(255,255,255,.88); box-shadow: 0 18px 45px rgba(18,58,43,.15); backdrop-filter: blur(14px); }
.hero-float svg { color: var(--green); }
.hero-float span { display: grid; }
.hero-float small { color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.hero-float strong { margin-top: 3px; font-size: 13px; }
.hero-float-one { top: 18%; right: 0; }
.hero-float-two { left: 2%; bottom: 16%; }

.home-categories, .home-news, .listing-section, .video-section { width: min(1240px, calc(100% - 48px)); margin: auto; padding: 108px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-heading > div > span, .product-feature-copy > span, .ai-preview-copy > span, .home-cta span, .contact-panel > span { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.2; letter-spacing: -.035em; }
.section-heading > p { width: min(480px, 100%); margin: 0; color: var(--muted); line-height: 1.85; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-card { position: relative; min-height: 295px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: .28s; overflow: hidden; }
.category-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, var(--green), var(--green-dark)); opacity: 0; transition: .28s; }
.category-card > * { position: relative; z-index: 1; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card:hover::before { opacity: 1; }
.category-card:hover, .category-card:hover p, .category-card:hover .category-no, .category-card:hover em { color: #fff; }
.category-card:hover .category-icon { background: rgba(255,255,255,.16); color: #fff; }
.category-no { float: right; color: #9aa8a1; font-size: 12px; font-weight: 800; }
.category-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--soft); color: var(--green); }
.category-card h2 { clear: both; margin: 30px 0 12px; font-size: 23px; }
.category-card p { min-height: 54px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.category-card em { display: inline-flex; align-items: center; gap: 8px; margin-top: 25px; color: var(--green); font-size: 13px; font-style: normal; font-weight: 800; }

.home-product-feature { padding: 20px 0 110px; }
.product-feature-inner { width: min(1320px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(42px, 7vw, 100px); padding: 72px; border-radius: 34px; background: var(--soft); }
.product-feature-image { min-height: 430px; display: grid; place-items: center; border-radius: 24px; background: #fff; overflow: hidden; }
.product-feature-image img { width: 92%; height: 400px; object-fit: contain; }
.product-feature-copy h2 { margin: 13px 0 20px; font-size: clamp(34px, 4vw, 55px); line-height: 1.2; letter-spacing: -.045em; }
.product-feature-copy > p { color: var(--muted); line-height: 1.95; }
.feature-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 30px; }
.feature-points span { padding: 8px 12px; border: 1px solid #cddbd4; border-radius: 999px; color: var(--green-dark); font-size: 12px; font-weight: 700; }

.ai-home-preview { width: min(1320px, calc(100% - 48px)); margin: 0 auto 108px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; padding: 75px; border-radius: 34px; background: linear-gradient(135deg, #0d2d24, #116548); color: #fff; overflow: hidden; }
.ai-preview-copy h2 { margin: 12px 0 18px; font-size: clamp(35px, 4vw, 54px); line-height: 1.18; letter-spacing: -.04em; }
.ai-preview-copy p { color: rgba(255,255,255,.72); line-height: 1.9; }
.ai-preview-copy .button { margin-top: 18px; }
.ai-preview-media { position: relative; overflow: hidden; border-radius: 22px; box-shadow: 0 32px 70px rgba(0,0,0,.28); }
.ai-preview-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ai-preview-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.34), transparent 60%); }
.ai-preview-media > span { position: absolute; z-index: 2; inset: 0; margin: auto; width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--green); }

.home-news { padding-top: 0; }
.heading-link, .card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 13px; font-weight: 800; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.featured-grid article { min-width: 0; }
.featured-image { display: block; aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; background: var(--soft); }
.featured-image img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.featured-grid article:hover .featured-image img { transform: scale(1.04); }
.featured-grid article > span { display: block; margin-top: 20px; color: var(--green); font-size: 11px; font-weight: 800; }
.featured-grid h2 { margin: 8px 0 10px; font-size: 21px; line-height: 1.45; }
.featured-grid p { color: var(--muted); font-size: 14px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-cta { width: min(1320px, calc(100% - 48px)); margin: 0 auto 100px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 65px 70px; border-radius: 28px; background: linear-gradient(120deg, var(--green), #0c5b41); color: #fff; }
.home-cta span { color: #d9f199; }
.home-cta h2 { margin: 12px 0 0; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.25; }

.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #0c2b22, #0e6648); color: #fff; }
.page-hero-grid { opacity: .22; mask-image: none; }
.page-hero-inner { position: relative; width: min(1240px, calc(100% - 48px)); min-height: 360px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 70px 0; }
.page-hero-inner > div { max-width: 760px; }
.page-hero .eyebrow { color: #cced6b; }
.page-hero h1 { margin: 18px 0 16px; font-size: clamp(44px, 5vw, 68px); letter-spacing: -.045em; }
.page-hero p { margin: 0; color: rgba(255,255,255,.74); font-size: 17px; line-height: 1.9; }
.page-hero-icon { flex: 0 0 auto; width: 128px; height: 128px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 34px; background: rgba(255,255,255,.08); color: #cced6b; transform: rotate(8deg); }

/* AI page: premium technology hero visual */
.page-ai .page-hero {
  isolation: isolate;
  min-height: 470px;
  background-color: #063b34;
  background-image:
    linear-gradient(90deg, rgba(3,34,30,.98) 0%, rgba(3,43,37,.88) 35%, rgba(4,67,56,.30) 67%, rgba(4,64,55,.08) 100%),
    url("../images/ai-hero-future.webp");
  background-position: center;
  background-size: cover;
}
.page-ai .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 38%, rgba(0,24,20,.24));
  pointer-events: none;
}
.page-ai .page-hero-grid {
  z-index: -1;
  width: 51%;
  opacity: .13;
  mask-image: linear-gradient(90deg, #000 0%, #000 54%, transparent 100%);
}
.page-ai .page-hero-inner { min-height: 470px; }
.page-ai .page-hero-inner > div { max-width: 635px; }
.page-ai .page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(203,244,116,.3);
  border-radius: 999px;
  background: rgba(12,79,65,.38);
  color: #d9f88d;
  backdrop-filter: blur(8px);
}
.page-ai .page-hero h1 {
  margin-top: 22px;
  text-shadow: 0 4px 26px rgba(0,25,20,.24);
}
.page-ai .page-hero p { max-width: 600px; color: rgba(255,255,255,.82); }
.page-ai .page-hero-icon { display: none; }

.listing-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.listing-tools > div { display: flex; align-items: baseline; gap: 10px; }
.listing-tools strong { font-size: 22px; }
.listing-tools span { color: var(--muted); font-size: 13px; }
.listing-tools label { width: min(400px, 100%); }
.listing-tools input { width: 100%; height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; outline: none; color: var(--ink); }
.listing-tools input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(20,135,95,.1); }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.content-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; transition: .25s; }
.content-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.content-card-image { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--soft); }
.content-card-image img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.content-card:hover .content-card-image img { transform: scale(1.04); }
.content-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.content-card-body > span { color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.content-card-body h2 { margin: 9px 0 10px; font-size: 20px; line-height: 1.45; }
.content-card-body p { color: var(--muted); font-size: 13px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.content-card-body .card-link { margin-top: auto; padding-top: 14px; }
.empty-state { padding: 80px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 20px; }
.empty-state p { color: var(--muted); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 44px; }
.pagination button { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.pagination button:hover:not(:disabled), .pagination button.is-current { border-color: var(--green); background: var(--green); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

.video-section { padding-top: 86px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.video-card { border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 12px 34px rgba(18,58,43,.07); }
.video-card video { display: block; width: 100%; aspect-ratio: 16/9; background: #071a14; object-fit: cover; }
.video-card > div { padding: 24px 26px 28px; }
.video-card span { color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.video-card h2 { margin: 8px 0 9px; font-size: 21px; }
.video-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.youtube-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-top: 46px; padding: 26px 30px; border-radius: 18px; background: var(--soft); }
.youtube-banner > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #e52d27; }
.youtube-banner strong { font-size: 19px; }
.youtube-banner p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.youtube-banner a { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 13px; font-weight: 800; }
.video-back { margin-top: 28px; text-align: center; color: var(--green); font-weight: 700; }

.contact-page { width: min(1120px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; padding: 100px 0; }
.contact-panel { padding: 45px; border-radius: 24px; background: var(--soft); }
.contact-panel h2 { margin: 13px 0 15px; font-size: 34px; }
.contact-panel > p { color: var(--muted); line-height: 1.8; }
.contact-panel dl { margin: 32px 0 0; }
.contact-panel dl div { padding: 17px 0; border-top: 1px solid var(--line); }
.contact-panel dt { margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.contact-panel dd { margin: 0; font-size: 15px; font-weight: 700; }
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: #3b4b44; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); outline: none; }
.contact-form input, .contact-form select { height: 49px; padding: 0 14px; }
.contact-form textarea { padding: 14px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(20,135,95,.1); }
.contact-form button { height: 52px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; cursor: pointer; }
.contact-form small { color: var(--muted); text-align: center; }

.article-page { background: #fff; }
.article-header { padding: 82px 0 72px; background: var(--soft); }
.article-header > div { width: min(980px, calc(100% - 48px)); margin: auto; }
.article-header a { display: inline-block; margin-bottom: 32px; color: var(--green); font-size: 13px; font-weight: 800; }
.article-header span { display: block; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.article-header h1 { margin: 14px 0 18px; font-size: clamp(38px, 5vw, 64px); line-height: 1.24; letter-spacing: -.045em; }
.article-header p { max-width: 780px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.article-layout { width: min(1180px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; padding: 80px 0; align-items: start; }
.article-lead-image { margin: 0 0 42px; }
.article-lead-image img { width: 100%; max-height: 650px; object-fit: contain; border-radius: 22px; background: var(--soft); }
.article-lead-image figcaption { margin-top: 8px; color: var(--muted); font-size: 10px; text-align: center; }
.article-copy h2 { margin: 38px 0 12px; font-size: 25px; line-height: 1.45; }
.article-copy p { margin: 0 0 14px; color: #405048; font-size: 16px; line-height: 1.95; }
.article-copy .article-bullet { position: relative; padding-left: 20px; }
.article-copy .article-bullet::before { content: ""; position: absolute; left: 1px; top: .9em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.article-links { display: grid; gap: 10px; margin-top: 42px; padding: 28px; border-radius: 18px; background: var(--soft); }
.article-links h2 { margin: 0 0 8px; font-size: 20px; }
.article-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--green); font-size: 13px; font-weight: 700; }
.article-gallery { margin-top: 55px; }
.article-gallery h2 { font-size: 24px; }
.article-gallery > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.article-gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--soft); }
.article-gallery img { width: 100%; height: 300px; object-fit: contain; }
.source-note { margin-top: 45px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.source-note a { margin-left: 8px; color: var(--green); font-weight: 700; }
.article-aside { position: sticky; top: 112px; padding: 28px; border-radius: 20px; background: linear-gradient(145deg, #0c2b22, #0e6648); color: #fff; }
.article-aside > strong { font-size: 22px; line-height: 1.45; }
.article-aside > p { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.8; }
.article-aside > a { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding: 13px 15px; border-radius: 10px; background: #fff; color: var(--green-dark); font-size: 13px; font-weight: 800; }
.article-aside dl { margin: 25px 0 0; }
.article-aside dl div { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); }
.article-aside dt { color: rgba(255,255,255,.56); font-size: 10px; }
.article-aside dd { margin: 4px 0 14px; font-weight: 700; }
.article-pagination { width: min(1180px, calc(100% - 48px)); margin: 0 auto 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article-pagination > div:last-child { text-align: right; }
.article-pagination a { display: inline-grid; gap: 5px; max-width: 420px; }
.article-pagination span { color: var(--green); font-size: 11px; font-weight: 800; }
.article-pagination strong { font-size: 15px; line-height: 1.5; }

.site-footer { background: #0a241c; color: #fff; }
.footer-grid { width: min(1240px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; padding: 75px 0 60px; }
.brand-footer strong, .brand-footer small { color: #fff; }
.footer-grid > div:first-child > p { color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.8; }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 13px; }
.footer-grid > div:not(:first-child) strong { margin-bottom: 8px; font-size: 13px; color: #cae86d; }
.footer-grid a, .footer-grid address { color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.6; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { width: min(1240px, calc(100% - 48px)); margin: auto; display: flex; justify-content: space-between; gap: 20px; padding: 19px 0 24px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: 10px; }

@media (max-width: 1080px) {
  .header-inner { width: min(100% - 32px, 1320px); }
  .site-nav { position: fixed; top: 82px; left: 0; right: 0; display: none; padding: 18px 24px 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(18,58,43,.12); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px 0; }
  .site-nav a::after { display: none; }
  .nav-contact-mobile { display: block; color: var(--green) !important; }
  .header-contact { margin-left: auto; }
  .menu-toggle { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
  .home-hero-inner { grid-template-columns: 1fr; padding-top: 80px; }
  .home-hero-copy { text-align: center; }
  .home-hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .home-hero-visual { min-height: 460px; }
  .home-hero-visual img { max-height: 470px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-feature-inner, .ai-home-preview { grid-template-columns: 1fr; padding: 55px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .article-page { width: 100%; overflow-x: hidden; }
  .article-layout,
  .article-copy,
  .article-aside { min-width: 0; }
  .article-layout { width: min(calc(100% - 32px), 1240px); max-width: 100%; }
  .article-copy h2,
  .article-copy p { max-width: 100%; overflow-wrap: anywhere; }
  .site-header { height: 70px; }
  .site-nav { top: 70px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 8px; }
  .header-contact { display: none; }
  .home-hero-inner, .home-categories, .home-news, .listing-section, .video-section, .page-hero-inner, .contact-page, .article-layout, .article-header > div, .article-pagination, .footer-grid, .footer-bottom { width: min(100% - 32px, 1240px); }
  .home-hero-inner { min-height: auto; padding: 70px 0 30px; }
  .home-hero-copy h1 { font-size: clamp(45px, 14vw, 65px); }
  .home-hero-copy > p { font-size: 15px; }
  .hero-stats { gap: 10px; }
  .hero-stats div { padding-right: 10px; }
  .hero-stats strong { font-size: 16px; }
  .hero-stats span { font-size: 9px; }
  .home-hero-visual { min-height: 350px; }
  .hero-float-one { right: -8px; }
  .hero-float-two { left: -8px; bottom: 8%; }
  .home-categories, .home-news, .listing-section, .video-section { padding: 75px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading > p { font-size: 14px; }
  .category-grid, .content-grid, .featured-grid, .video-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 260px; }
  .home-product-feature { padding-bottom: 75px; }
  .product-feature-inner, .ai-home-preview, .home-cta { width: min(100% - 32px, 1320px); padding: 30px 22px; border-radius: 24px; }
  .product-feature-image { min-height: 300px; }
  .product-feature-image img { height: 290px; }
  .product-feature-copy h2, .ai-preview-copy h2 { font-size: 34px; }
  .ai-home-preview { gap: 36px; }
  .home-cta { align-items: flex-start; flex-direction: column; }
  .page-hero-inner { min-height: 310px; padding: 55px 0; }
  .page-hero-icon { display: none; }
  .page-hero h1 { font-size: 45px; }
  .page-ai .page-hero {
    min-height: 390px;
    background-image:
      linear-gradient(90deg, rgba(3,34,30,.97) 0%, rgba(3,43,37,.88) 58%, rgba(4,67,56,.22) 100%),
      url("../images/ai-hero-future.webp");
    background-position: 67% center;
  }
  .page-ai .page-hero-inner { min-height: 390px; }
  .page-ai .page-hero p { max-width: 92%; font-size: 15px; line-height: 1.75; }
  .listing-tools { align-items: stretch; flex-direction: column; }
  .listing-tools label { width: 100%; }
  .pagination { flex-wrap: wrap; }
  .youtube-banner { grid-template-columns: auto 1fr; }
  .youtube-banner a { grid-column: 1/-1; }
  .contact-page { grid-template-columns: 1fr; padding: 70px 0; }
  .contact-panel { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .article-header { padding: 58px 0 50px; }
  .article-header h1 { font-size: 39px; }
  .article-layout { padding: 55px 0; }
  .article-gallery > div { grid-template-columns: 1fr; }
  .article-gallery img { height: auto; max-height: 420px; }
  .article-pagination { grid-template-columns: 1fr; }
  .article-pagination > div:last-child { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid > div:not(:first-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }
  .footer-grid > div:not(:first-child) > strong {
    grid-column: 1 / -1;
  }
  .footer-grid > div:last-child > a[href^="mailto:"],
  .footer-grid > div:last-child > address {
    grid-column: 1 / -1;
  }
  .footer-grid a,
  .footer-grid address {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* 幸福企業活動照片：單張顯示的輪播版面 */
.happiness-carousel {
  position: relative;
  margin-top: 55px;
}

.happiness-carousel-viewport {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  aspect-ratio: 1748 / 1240;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.happiness-carousel-slide {
  position: absolute;
  inset: 0;
  display: none;
  margin: 0;
  min-height: 0;
  place-items: center;
  padding: 18px;
}

.happiness-carousel-slide.is-active {
  display: grid;
  animation: happiness-carousel-fade .35s ease;
}

.happiness-carousel-slide[aria-hidden="true"] {
  display: none;
}

.happiness-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 12px;
}

@keyframes happiness-carousel-fade {
  from { opacity: .2; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 760px) {
  .happiness-carousel {
    width: 100%;
    max-width: 100%;
    margin: 42px auto 0;
  }
  .happiness-carousel-viewport {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1748 / 1240;
  }
  .happiness-carousel-slide {
    width: 100%;
    min-height: 0;
    padding: 8px;
  }
  .happiness-carousel-slide img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .happiness-carousel-slide.is-active { animation: none; }
}

