/* 上奇集團 — static site */
:root {
  /* colours and type follow the original grandtech.com stylesheet */
  --red: #d42828;
  --red-deep: #b31b18;
  --heading-red: #e02347;
  --ink: #333333;
  --text: #4d4d4d;
  --graphite: #555555;
  --muted: #797979;
  --ring: #a4a7ad;
  --line: #e3e4e7;
  --mist: #f4f4f6;
  --paper: #ffffff;
  --wrap: 1360px; /* includes the 2 × 40px gutter (border-box): 1280px of content, as on the original */
  --gutter: clamp(16px, 4vw, 40px);
  --sans: "Heiti TC", "黑體-繁", "Microsoft JhengHei", "微軟正黑體", sans-serif;
  --head: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --latin: "Archivo", "Noto Sans TC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
/* hidden dropdown panels must never widen the page (no sideways scroll); clip keeps the sticky header working */
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; }
.skip:focus { top: 8px; }

/* ---------- header (as on the original: 關係企業 bar, logo + tagline, menu with slanted separators) ---------- */
.topbar { background: #f7f7f7; border-bottom: 1px solid #e6e6e6; font-size: .875rem; position: relative; z-index: 60; }
/* full width, lined up with the logo below (same 40px side padding as .site-head) */
.topbar .wrap { display: flex; align-items: center; min-height: 48px; gap: 4px; max-width: none; padding: 0 40px 0 52px; font-size: 1rem; }
.topbar .label { padding-left: 34px; color: #333; position: relative; }
.topbar .label::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 24px; margin-top: -12px; background: currentColor;
  -webkit-mask: var(--globe) center / contain no-repeat; mask: var(--globe) center / contain no-repeat;
  --globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Ccircle cx='12' cy='12' r='10.3'/%3E%3Cellipse cx='12' cy='12' rx='4.6' ry='10.3'/%3E%3Cpath d='M1.7 12h20.6M3.6 6.8h16.8M3.6 17.2h16.8'/%3E%3C/svg%3E"); }
.group-links { list-style: none; display: flex; margin: 0; padding: 0; }
.group-links > li { position: relative; }
.group-links > li > a { display: block; padding: 0 30px 0 8px; line-height: 64px; color: #333; text-decoration: none; position: relative; }
.group-links > li > a::after { content: ""; position: absolute; right: 10px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .25s, margin-top .25s; }
.group-links > li > a:only-child::after { display: none; }
.group-links > li:hover > a, .group-links > li:focus-within > a { color: var(--red); }
/* open: the chevron flips up */
.group-links > li:hover > a::after, .group-links > li:focus-within > a::after { transform: rotate(-135deg); margin-top: -2px; }
/* companies listed in one row in a panel with a pointer under the region name; drops in with a short fade/slide */
.group-links ul { display: flex; position: absolute; top: calc(100% - 6px); left: -10px; margin: 0; padding: 4px 16px; list-style: none; background: #fff; border: 1px solid #e6e6e6; box-shadow: 0 4px 12px rgba(0,0,0,.12);
  visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
.group-links ul::before { content: ""; position: absolute; top: -8px; left: 30px; width: 14px; height: 14px; background: #fff; border: solid #e6e6e6; border-width: 1px 0 0 1px; transform: rotate(45deg); }
.group-links ul a { display: block; padding: 0 16px; line-height: 48px; color: #333; text-decoration: none; white-space: nowrap; font-size: 1.0625rem; }
.group-links ul a:hover { color: var(--red); }
.group-links > li:hover > ul, .group-links > li:focus-within > ul { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
.topbar .lang { margin-left: auto; color: #333; text-decoration: none; font-family: Arial, Helvetica, sans-serif; }
.topbar .lang:hover { color: var(--red); }

.site-head { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 0 15px rgba(0,0,0,.3); }
.site-head .wrap { display: flex; align-items: center; gap: 0; min-height: 100px; max-width: none; padding: 0 40px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; display: block; }
.site-adobe .brand img { height: 36px; }
.tagline { position: relative; flex-shrink: 0; white-space: nowrap; padding-left: 40px; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.2; color: #666; }
.tagline::before { content: ""; position: absolute; left: 20px; top: 50%; width: 1px; height: 30px; margin-top: -15px; background: #e6e6e6; transform: rotate(20deg); }
.nav-toggle { display: none; margin-left: auto; border: 1px solid #ddd; background: none; font: inherit; padding: 6px 14px; cursor: pointer; }
.primary { margin-left: auto; }
.primary > ul { list-style: none; margin: 0; padding: 0; display: flex; }
.primary > ul > li { position: relative; }
.primary > ul > li + li::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 18px; margin-top: -9px; background: #ccc; transform: rotate(20deg); }
.primary > ul > li > a { display: block; padding: 0 24px; line-height: 100px; text-decoration: none; color: #333; font-weight: 700; font-size: 1rem; white-space: nowrap; position: relative; }
.site-adobe .primary > ul > li > a { line-height: 80px; font-size: .9375rem; }
.primary > ul > li > a::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 30px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.primary > ul > li:hover > a, .primary > ul > li.is-current > a { color: var(--red); }
.primary > ul > li.is-current > a::after, .primary > ul > li:hover > a::after, .primary > ul > li:focus-within > a::after { transform: scaleX(1); }
/* hover underline grows out from the centre, as on the original (a small hover-triggered effect, so kept even with reduced motion) */
.primary > ul > li > a::after { transform-origin: center; transition: transform .4s ease-out; }
.primary .sub { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 200px; background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.15); border-top: 2px solid var(--red); padding: 8px 0; list-style: none; margin: 0; text-align: center; }
.primary > ul > li:last-child .sub { left: auto; right: 0; transform: none; }
.primary > ul > li:hover .sub, .primary > ul > li:focus-within .sub { display: block; }
.primary .sub a { display: block; padding: 12px 25px 12px 20px; line-height: 18px; text-decoration: none; color: #323232; font-size: .875rem; }
.primary .sub a:hover { color: var(--red); }
.primary .sub ul { list-style: none; padding: 0 0 4px; margin: 0; }
.primary .sub ul a { color: #797979; font-size: .8125rem; padding: 6px 20px; }
/* two-level menu (投資人專區): a narrow first column, each group's pages fly out to its right */
@media (min-width: 1081px) {
  .primary .sub.wide { min-width: 150px; border-top: 0; padding: 6px 0; }
  .primary .sub.wide > li { position: relative; }
  .primary .sub.wide > li > a { padding: 12px 30px; }
  .primary .sub.wide > li:has(> ul) > a::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; margin-top: -4px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
  .primary .sub.wide > li:hover > a, .primary .sub.wide > li:focus-within > a { color: var(--red); }
  .primary .sub.wide > li > ul { display: none; position: absolute; left: 100%; top: -6px; width: 150px; padding: 6px 0; background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.15); }
  .primary .sub.wide > li:hover > ul, .primary .sub.wide > li:focus-within > ul { display: block; }
  .primary .sub.wide > li > ul a { color: #323232; font-size: .875rem; padding: 12px 16px; }
  .primary .sub.wide > li > ul a:hover { color: var(--red); }
}

/* not enough room at full size: tighter menu, smaller logo and tagline so the tagline stays on one line; hidden only when even that no longer fits */
@media (max-width: 1540px) { .primary > ul > li > a { padding: 0 16px; } .primary > ul > li > a::after { left: 16px; right: 16px; }
  .brand img { height: 36px; } .tagline { font-size: 13px; padding-left: 30px; } .tagline::before { left: 15px; height: 24px; margin-top: -12px; } }
@media (max-width: 1340px) { .tagline { display: none; } }
@media (max-width: 1080px) {
  .site-head .wrap, .topbar .wrap { min-height: 64px; padding: 0 var(--gutter); }
  .topbar .wrap { min-height: 48px; }
  .group-links > li > a { line-height: 48px; }
  .brand img { height: 36px; }
  .nav-toggle { display: block; }
  .primary { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid #ddd; max-height: calc(100vh - 64px); overflow: auto; }
  .site-head.nav-open .primary { display: block; }
  .primary > ul { flex-direction: column; padding: 8px var(--gutter) 24px; }
  .primary > ul > li + li::before { display: none; }
  .primary > ul > li > a, .site-adobe .primary > ul > li > a { padding: 12px 0; line-height: 1.5; }
  .primary > ul > li > a::after { display: none; }
  .primary .sub, .primary .sub.wide { display: block; position: static; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; min-width: 0; columns: 1; text-align: left; }
  .primary .sub a { padding: 5px 0 5px 12px; }
}
/* small screens: companies stacked in a column so the open panel fits on screen */
@media (max-width: 1080px) { .group-links ul { flex-direction: column; padding: 4px 0; max-width: calc(100vw - 2 * var(--gutter)); }
  .group-links ul a { line-height: 44px; font-size: 1rem; } }
@media (max-width: 640px) { .topbar .label { display: none; } .group-links > li > a { padding-right: 18px; } }

/* ---------- title band (pattern, decorations, icon + red title, breadcrumbs on the right) ---------- */
.page-head { position: relative; background: url("theme/main/pattern1.png") repeat 0 0; margin-bottom: 20px; }
.page-head::before, .page-head::after, .page-head .wrap::before, .page-head .wrap::after { content: ""; position: absolute; background: no-repeat 0 0 / cover; pointer-events: none; }
.page-head::before { top: 32.85%; left: 0; width: 2.3%; padding-bottom: 3.177%; background-image: url("theme/main/page_title_bg1.png"); }
.page-head::after { top: 0; left: 36.45%; width: 76px; height: 43px; background-image: url("theme/main/page_title_bg2.png"); }
.page-head .wrap { position: relative; padding-bottom: 14px; }
.page-head .wrap::before { bottom: -7px; left: 56.875%; width: 30px; height: 30px; background-image: url("theme/main/page_title_bg3.png"); }
.page-head .wrap::after { bottom: -10px; right: 1.875%; width: 5.3646%; padding-bottom: 4.6354%; background-image: url("theme/main/page_title_bg4.png"); }
.page-name { margin: 0; padding-left: 80px; background: url("theme/main/icon_index_title.png") no-repeat 0 center; font-family: var(--head); font-size: 1.5rem; font-weight: 500; letter-spacing: 4px; line-height: 100px; color: var(--red); }
.crumbs { position: relative; z-index: 1; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; font-size: .8125rem; line-height: 24px; color: #5b5b5b; }
.crumbs li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 10px 1px 6px; border-top: 1px solid #555; border-right: 1px solid #555; transform: rotate(45deg); }
.crumbs a { color: #444; text-decoration: none; }
.crumbs a:hover { color: #c42828; }
.crumbs li[aria-current] { color: #c42828; }
@media (max-width: 720px) {
  .page-name { padding-left: 56px; background-size: 44px auto; line-height: 70px; font-size: 1.25rem; }
  .crumbs ol { justify-content: flex-start; }
}

/* ---------- body layout ---------- */
body { background: #f9f9f9; }
main { background: url("theme/main/index_conglomerate_bg_4_3.png") no-repeat center bottom / contain; }
.layout { padding-top: 30px; padding-bottom: 120px; }
.layout.has-side { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 50px; }
@media (max-width: 900px) { .layout.has-side { grid-template-columns: 1fr; gap: 32px; } }

/* investor menu: titled white box with a dark top rule and soft shadow */
.side-nav h2 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 700; color: #555; line-height: 1.5; }
.side-nav > ul { list-style: none; margin: 0; padding: 10px 18px; background: #fff; border-top: 2px solid #555; box-shadow: 0 0 10px rgba(0,0,0,.2); }
.side-nav ul ul { list-style: none; margin: 0; padding: 0; }
.side-nav > ul > li { padding: 8px 0 10px; border-bottom: 1px solid #ededed; }
.side-nav > ul > li:first-child { padding-top: 0; }
.side-nav > ul > li:last-child { border: 0; }
.side-nav a { display: block; position: relative; line-height: 1.5; text-decoration: none; }
.side-nav > ul > li > a { padding: 5px 0; color: #000; }
.side-nav ul ul a { padding: 3px 0 3px 15px; color: #999; font-size: .875rem; }
.side-nav ul ul a::after { content: ""; position: absolute; top: 11px; left: 0; width: 4px; height: 4px; border-top: 1px solid #999; border-right: 1px solid #999; transform: rotate(45deg); }
.side-nav a:hover, .side-nav a[aria-current="page"] { color: var(--red); }
.side-nav ul ul a[aria-current="page"]::after { border-color: #b31b18; }
@media (max-width: 900px) { .side-nav { order: 2; } }

/* ---------- prose (the original editable_content) ---------- */
.prose { min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 20px 0; line-height: 2; }
/* plain editor lists only: component lists (tiles, cards, tables of links) carry a class */
.prose :is(ul, ol):not([class]) { margin: 20px 0; padding-left: 25px; line-height: 1.5; }
.prose :is(ul, ol):not([class]) > li { margin-bottom: 10px; line-height: 1.5; }
.prose h2, .prose h3 { margin: 30px 0 10px; line-height: 1.5; font-weight: 700; color: inherit; }
.prose h2 { font-size: 1.5em; }
.prose h3 { font-size: 1.17em; }
.prose h4, .prose h5, .prose h6 { margin: 30px 0 5px; line-height: 1.5; font-weight: 700; }
.prose h4 { font-size: 1.375rem; color: var(--heading-red); }
.prose h5 { font-size: 1.25rem; color: #555; }
.prose h6 { font-size: 1.125rem; color: #555; }
.prose :is(h4, h5, h6) + :not(h4, h5, h6) { margin-top: 10px; }
.prose .doc-title { margin: 20px 0; padding: 10px 0 5px; border-bottom: 1px solid #d4d0cd; font-family: var(--head); font-size: 1.875rem; font-weight: 700; line-height: 1.5; color: var(--red); }
.prose .doc-title + * { margin-top: 0; }
.prose .postdate { position: relative; margin: -10px 0 20px; font-family: Arial, Helvetica, sans-serif; font-size: .875rem; line-height: 1.5; color: #9d9d9d; }
.prose .postdate::before { content: ""; position: absolute; bottom: -2px; left: 0; width: 80px; height: 10px; background: url("theme/main/pattern1.png") repeat 0 0; }
.prose .float-wrap { display: flow-root; margin: 30px 0; }
.prose .float-wrap > :first-child { margin-top: 0; }
.prose img.img-right { float: right; max-width: 50%; margin: 0 0 15px 15px; }
.prose img.img-left { float: left; max-width: 50%; margin: 0 15px 15px 0; }
.prose img.img-center { margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .prose img.img-right, .prose img.img-left { float: none; max-width: 100%; margin: 0 0 15px; } }
.prose a { color: #00baea; }
.site-adobe .prose a { color: #0467ff; }
.prose a:hover { color: var(--red); text-decoration: none; }
.prose img { display: block; margin: 30px 0; }
/* a row of linked image buttons (e.g. 上奇台灣／香港／東南亞) stays in one row, as on the original */
.prose p:has(> a + a > img) { display: flex; flex-wrap: wrap; row-gap: 20px; margin: 30px 0; font-size: 0; }
/* spacing on the links, not gap: the &nbsp; runs between them become empty flex items */
.prose p:has(> a + a > img) > a { margin-right: 60px; }
.prose p:has(> a + a > img) img { margin: 0; }
.prose figure { margin: 30px 0; }
.prose hr { border: 0; border-top: 1px solid #ddd; margin: 30px 0; }
.prose blockquote { margin: 30px 20px; padding: 20px 40px; background: #f0f0f0; }
.prose .video { position: relative; aspect-ratio: 16 / 9; margin: 30px auto; max-width: 560px; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* tables written in the editor: no frame unless the editor gave one */
.table-wrap { overflow-x: auto; margin: 30px 0; }
.prose table { border-collapse: collapse; line-height: 1.6; }
.prose table.ed { max-width: 100%; }
.prose table.ed[align="center"] { margin-left: auto; margin-right: auto; }
.prose table.ed td, .prose table.ed th { padding: 4px 8px; vertical-align: top; }
.prose table.ed td > :first-child, .prose table.ed th > :first-child { margin-top: 0; }
.prose table.ed td > :last-child, .prose table.ed th > :last-child { margin-bottom: 0; }
.prose table.ed:is([border]:not([border="0"])) :is(td, th) { border: 1px solid #a0a0a0; padding: 8px 12px; vertical-align: middle; }
.prose table.table_style1 :is(td, th) { border: 1px solid #000; padding: 8px; }
.prose table.table_style1 th { background: #dedede; color: #333; white-space: nowrap; }
.prose table.table_style2 { width: 100%; }
.prose table.dividend_info { width: 100%; margin: 20px 0; }
.prose table.dividend_info caption { padding-bottom: 10px; color: #4d4d4d; text-align: left; font-weight: 700; }
.prose table.dividend_info :is(th, td) { padding: 10px 30px; border-bottom: 3px solid #f9f9f9; line-height: 1.5; vertical-align: middle; }
.prose table.dividend_info th { border-right: 3px solid #f9f9f9; background: #c9e1ea; font-weight: 400; }
.prose table.dividend_info td { background: #e8eef1; }
.prose table.table_style2 td { padding: 15px; width: 50%; }
.prose table.table_style2 h6, .prose table.table_style2 h6 a { color: var(--red); text-decoration: none; }
@media (max-width: 640px) { .prose table.ed:not([border]) :is(tr, td) { display: block; width: auto !important; } }

/* data tables (IR mini-apps, download lists) */
.prose table.data, .prose table.files { width: 100%; font-size: .9375rem; }
.prose :is(table.data, table.files) :is(th, td) { padding: 10px 12px; border-bottom: 1px solid #e5e5e5; text-align: left; vertical-align: middle; }
.prose :is(table.data, table.files) th { background: #c9c9c9; color: #333; font-weight: 700; white-space: nowrap; }
.prose :is(table.data, table.files) tbody tr:nth-child(even) { background: #f5f5f5; }
.prose :is(table.data, table.files) tbody tr:nth-child(odd) { background: #fff; }
.prose table.files :is(th, td) { text-align: center; border: 1px solid #e3e4e5; padding: 8px 12px; }
.prose table.files th { background: #e3e4e5; }
.prose table.files tbody tr:nth-child(odd) { background: #f9f9f9; }
.prose table.files td p { margin: 0; line-height: 1.6; }
.prose table.files a { display: inline-block; margin: 2px 5px; color: #333; font-size: .875rem; }
.prose table.files a[href$=".pdf" i]::after, .prose a.dl::after { content: ""; display: inline-block; width: 20px; height: 20px; margin-left: 4px; vertical-align: -5px; background: #ea4c3a url("theme/main/pdf.png") center / cover no-repeat; }
.prose td.num, .prose th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prose tr.total td { font-weight: 700; background: #eee; }
.prose td.neg { color: var(--red-deep); }
.prose a.zoom { display: block; cursor: zoom-in; }
.prose a.zoom img { width: 100%; }
.prose a.zoom::after { content: "點圖可放大檢視"; display: block; margin-top: -20px; text-align: right; font-size: .8125rem; color: #888; }
/* Word files get a Word icon instead of the PDF one */
.prose a.dl:is([href$=".doc" i], [href$=".docx" i])::after, .prose table.files a:is([href$=".doc" i], [href$=".docx" i])::after { content: ""; display: inline-block; width: 20px; height: 20px; vertical-align: -5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='2' fill='%232b579a'/%3E%3Cpath d='M4 5.5L6.5 14.5 10 7.5 13.5 14.5 16 5.5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / cover no-repeat; }
.prose a.dl { display: inline-block; font-size: 0; color: transparent; text-decoration: none; }
.prose a.dl::after { margin-left: 0; }

/* ---------- year tabs (the IR mini-apps: big "2025年" tabs over a red-orange rule) ---------- */
.years { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 0 0 24px; padding: 0 0 6px; list-style: none; border-bottom: 4px solid; border-image: linear-gradient(90deg, #e60012, #f39800) 1; }
.years button { font: 400 1.375rem var(--head); border: 0; background: none; padding: 6px 12px; cursor: pointer; color: #333; }
.years button[aria-selected="true"], .years button:hover { color: var(--red); }
.js .year-panel[hidden] { display: none; }
.year-panel > h2 { margin-top: 0; }
.js .year-panel > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- list pages: the original ListTable ---------- */
.cat-title { margin: 0 0 10px !important; font-size: 1.25rem !important; line-height: 36px; color: var(--red) !important; }
.list-table { position: relative; margin: 20px 0 40px; padding: 20px 50px; background: #fff; border: 1px solid #ddd; }
.site-adobe .list-table::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 100%; height: 10px; background: url("theme/adobe/pattern4.png") repeat 0 0; }
.list-table table { width: 100%; border-collapse: collapse; }
.list-table th, .list-table td { padding: 12px 20px; border-bottom: 1px solid #ddd; text-align: left; vertical-align: top; line-height: 1.6; }
.list-table tr:last-child td { border-bottom: 0; }
.list-table th { color: #555; white-space: nowrap; font-weight: 400; }
.list-table th.no { text-align: center; }
.list-table td.no { width: 30px; color: #a3a3a3; text-align: right; font-family: Arial, Helvetica, sans-serif; }
.list-table td.date { width: 80px; color: #a4a4a4; white-space: nowrap; font-family: Arial, Helvetica, sans-serif; }
.list-table td.title { color: #555; }
.list-table td.title a { display: block; position: relative; padding-left: 20px; color: #555; text-decoration: none; }
.list-table td.title a::before, .arrow-list a::before, .news a::before { content: ""; position: absolute; left: 2px; top: .55em; border-left: 9px solid var(--red); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.site-adobe .list-table td.title a::before { border-left-color: #5ad4d5; }
.list-table td.title a:hover { color: #c42828; }
.site-adobe .list-table td.title a:hover { color: #5ad4d5; }
@media (max-width: 720px) { .list-table { padding: 10px 14px; } .list-table th, .list-table td { padding: 10px 6px; } .list-table .no { display: none; } }

/* home / IR home news: date ▶ title rows */
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 16px; padding: 14px 0 14px 8px; border-bottom: 1px solid #e3e3e3; }
.news time { color: #8b8b8b; font-size: .875rem; font-family: Arial, Helvetica, sans-serif; }
.news a { position: relative; padding-left: 22px; color: #333; text-decoration: none; font-size: .9375rem; }
.news a:hover { color: var(--red); }
@media (max-width: 560px) { .news li { grid-template-columns: 1fr; gap: 2px; } }
.arrow-list { list-style: none; margin: 0 0 40px; padding: 0; }
.arrow-list li { margin: 0; padding: 4px 0; }
.arrow-list a { position: relative; display: block; padding-left: 20px; color: #555; font-size: .875rem; text-decoration: none; }
.arrow-list a:hover { color: var(--red); }

/* ---------- investor home ---------- */
.ir-kv img { display: block; width: 100%; margin: 0 0 40px; }
.prose .ir-index-title { margin: 0 0 20px; padding-bottom: 10px; border-bottom: 1px solid #ccc; font-family: var(--head); font-size: 1.375rem; font-weight: 400; color: #333; }
.ir-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 20px; }
.ir-tiles li { position: relative; margin: 0; overflow: hidden; background: center / cover no-repeat; transition: box-shadow .3s; }
.ir-tiles li::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.15), rgba(0,0,0,0)); transition: opacity .3s; }
.ir-tiles li:hover { box-shadow: 0 0 20px rgba(0,0,0,.3); }
.ir-tiles li:hover::before { opacity: 0; }
.ir-tiles .t1, .ir-tiles .t4 { grid-column: span 2; }
.ir-tiles .t1::before, .ir-tiles .t4::before { background: rgba(0,0,0,.3); }
.ir-tiles .t2 { background-color: #d8bd86; }
.ir-tiles .t3 { background-color: #999fd1; }
.ir-tiles .t5 { background-color: #8ac5b1; order: 1; }
.ir-tiles .t6 { background-color: #7cc3d3; order: 2; }
.ir-tiles .t4 { order: 3; }
.ir-tiles a { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff !important; font-family: var(--head); font-size: 1.25rem; letter-spacing: 1px; text-decoration: none; }
.ir-tiles .ico { width: 60px; height: 60px; margin-bottom: 6px; border-radius: 50%; background: #fff url("theme/main/icon_ir_index_btns.png") no-repeat; box-shadow: 4px 4px rgba(0,0,0,.15); }
.ir-tiles .t2 .ico { background-position: 0 -60px; }
.ir-tiles .t3 .ico { background-position: 0 -120px; }
.ir-tiles .t4 .ico { background-position: 0 -180px; }
.ir-tiles .t5 .ico { background-position: 0 -240px; }
.ir-tiles .t6 .ico { background-position: 0 -300px; }
.ir-tiles li:hover a { text-shadow: 0 0 10px rgba(0,0,0,.75); }
@media (max-width: 720px) { .ir-tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 10px; } }

/* ---------- annual reports: cover + big grey year + title ---------- */
.annual { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
.annual li { display: grid; grid-template-columns: 43.75% 1fr; margin: 0; }
.annual .cover img { display: block; margin: 0; width: 100%; box-shadow: 0 0 6px rgba(0,0,0,.15); }
.annual li > div { padding-left: 20px; }
.prose .annual .year { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 1.875rem; font-weight: 700; line-height: 1.2; color: #e1e1e1; }
.annual .year small { font-family: var(--sans); font-size: 1.125rem; }
.prose .annual .t { margin: 0; padding-top: 15px; line-height: 1.5; }
.prose .annual .t a { color: #333; }
.prose .annual .t a:hover { color: var(--red); }
@media (max-width: 900px) { .annual { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .annual { grid-template-columns: 1fr; } }

/* ---------- events / courses ---------- */
.prose .event-title { display: flex; align-items: center; gap: 15px; margin: 20px 0; padding: 10px 0; border-bottom: 1px solid #d4d0cd; font-family: var(--head); font-size: 1.5626rem; font-weight: 500; line-height: 44px; color: #444; }
.prose .event-title::before { content: ""; flex: none; width: 44px; height: 44px; background: url("theme/main/icon_event_list.png") no-repeat 0 0 / cover; }
.prose .event-title.active::before { background-position: 0 100%; }
.site-adobe .prose .event-title.active { border-bottom-color: #ff6699; }
.event-list + .event-title { margin-top: 60px !important; }
.event-list { list-style: none; margin: 0; padding: 0; }
.event-list > li { display: grid; grid-template-columns: 58% 1fr; gap: 0 30px; margin: 0; padding: 40px 25px; border-bottom: 1px solid #ddd; }
.event-list > li:nth-child(even) .pic { order: 2; }
.event-list > li.no-pic { display: block; padding: 10px 0; border: 0; }
.event-list .pic img { display: block; margin: 0; width: 100%; aspect-ratio: 750 / 350; object-fit: cover; }
.event-list .cont { position: relative; padding-bottom: 50px; }
.event-list > li.no-pic .cont { padding-bottom: 0; }
.prose .event-list h3 { margin: 0 0 10px; font-family: var(--head); font-size: 1.375rem; font-weight: 500; letter-spacing: 1px; line-height: 1.5; }
.prose .event-list > li.no-pic h3 { font-size: 1rem; font-weight: 400; }
.prose .event-list h3 a { color: #333; text-decoration: none; }
.prose .event-list h3 a:hover { color: var(--red); }
.prose .event-list .date { margin: 0 0 10px; padding: 5px 0; font-size: .9375rem; line-height: 1.5; color: #7e7362; }
.event-list .date::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border: 1.5px solid #7b7b7b; border-radius: 50%;
  background: linear-gradient(#7b7b7b, #7b7b7b) 6px 2px / 1.5px 5px no-repeat, linear-gradient(#7b7b7b, #7b7b7b) 6px 6px / 4px 1.5px no-repeat; }
.event-list .date strong { position: relative; margin-right: 8px; padding-right: 8px; font-size: 133%; font-weight: 400; color: #db4b26; }
.site-adobe .event-list .date strong { color: #ff6699; }
.event-list .date strong::after { content: ""; position: absolute; top: 50%; right: 0; width: 1px; height: 20px; margin-top: -10px; background: #ccc; }
.prose .event-list .desc { margin: 0; color: #999; font-size: 1rem; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.prose .event-list .status { position: absolute; right: 0; bottom: 0; margin: 0; }
.event-list .status span { display: inline-block; padding: 0 35px; line-height: 40px; border-radius: 3px; background: #d5d5d5; color: #8b8b8b; font-weight: 700; }
@media (max-width: 720px) { .event-list > li { grid-template-columns: 1fr; padding: 24px 0; } .event-list > li:nth-child(even) .pic { order: 0; } .event-list .pic { margin-bottom: 14px; } }

/* home-page / Adobe-home card grid */
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 28px; margin: 0 0 2em; padding: 0; list-style: none; }
.events a { text-decoration: none; color: inherit; display: block; }
.events .thumb { aspect-ratio: 16 / 9; background: #eee center / cover no-repeat; margin-bottom: 14px; box-shadow: 0 0 10px rgba(0,0,0,.15); }
.prose .events h3 { font-size: 1.05rem; line-height: 1.55; margin: 0 0 6px; color: #333; }
.events a:hover h3 { color: var(--red) !important; }
.prose .events .when { color: #7e7362; font-size: .9rem; margin: 0 0 6px; }
.prose .events .desc { font-size: .9375rem; color: #999; margin: 0; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.events .status { display: inline-block; margin: 0 0 6px !important; padding: 0 10px; font-size: .82rem; color: #8b8b8b; background: #d5d5d5; }

/* ---------- ESG report cards ---------- */
.report-cards { list-style: none; margin: 20px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 260px)); gap: 20px; }
.report-cards li { margin: 0; background: #fff; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; transition: box-shadow .2s; }
.report-cards li:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.report-cards a { display: block; text-decoration: none; color: inherit !important; }
.report-cards img { display: block; margin: 0; width: 100%; aspect-ratio: 704 / 1000; object-fit: cover; }
.report-cards .card-body { padding: 14px 16px 16px; }
.report-cards .badge { display: inline-block; padding: 1px 8px; border-radius: 10px; background: #e7f1ec; color: #1f4e3a; font-size: .75rem; font-weight: 700; }
.prose .report-cards h3 { margin: 8px 0 4px; font-family: var(--head); font-size: 1.0625rem; font-weight: 700; color: #222; line-height: 1.5; }
.prose .report-cards .when { margin: 0 0 12px; font-size: .75rem; color: #888; line-height: 1.5; }
.report-cards .get { color: #1f6b4f; font-size: .8125rem; font-weight: 700; }
.report-cards .get::before { content: "↓ "; }

/* site map */
.prose .sitemap { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 40px; }
.prose .sitemap h2 { font-size: 1.15rem; margin: 1.2em 0 .5em; padding-top: 12px; border-top: 2px solid #333; color: #333; }
.sitemap h2 a { color: #333 !important; text-decoration: none; }
.sitemap ul { list-style: none; padding: 0 !important; margin: 0 !important; }
.sitemap ul ul { padding-left: 14px !important; margin-bottom: 6px !important; }
.prose .sitemap li { margin: 0; }
.sitemap li a { display: inline-block; padding: 3px 0; color: #555 !important; text-decoration: none; font-size: .95rem; }
.sitemap li a:hover, .sitemap h2 a:hover { color: var(--red) !important; text-decoration: underline; }

.missing-file { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.notice { border-left: 3px solid var(--red); background: #fff; padding: 16px 20px; margin: 30px 0; }
.notice p { margin: 0 !important; }

/* static chart (dividend payout) */
.chart { margin: 1.5em 0; }
.chart svg { width: 100%; height: auto; display: block; }
.chart text { fill: #555; font-family: Arial, Helvetica, sans-serif; }
.chart-legend { display: flex; gap: 20px; list-style: none; padding: 0; margin: 8px 0 0; font-size: .9rem; }
.chart-legend span { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }

/* team */
/* management team: as on the original, cards over a red band, profile in a popup */
.prose:has(> .team-list) { max-width: none; }
/* the original team page has no side menu: the three cards use the full width */
.layout.has-side:has(.team-list) { grid-template-columns: minmax(0, 1fr); }
.layout:has(.team-list) .side-nav { display: none; }
.team-list { list-style: none; margin: 0; padding: 0 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 5%; position: relative; }
.team-list::before { content: ""; position: absolute; left: -4%; right: 18%; top: 0; height: 320px; background: url("bg_team_list.jpg") repeat; }
.tm { position: relative; padding-top: 50px; }
.tm-card { display: block; text-decoration: none; color: inherit; }
.tm-img { display: block; aspect-ratio: 5 / 6; overflow: hidden; background: var(--mist); transition: transform .3s, box-shadow .3s; }
.tm-img img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.tm-card:hover .tm-img, .tm-card:focus-visible .tm-img { transform: translateY(-15px); box-shadow: 0 0 15px rgba(0,0,0,.4); }
.tm-plate { position: relative; margin: -15px 16px 0; padding: 20px 10px 10px; border: 3px solid #cc6161; background: var(--paper); font-family: var(--head); letter-spacing: 1px; }
.prose .tm-plate p { margin: 0; line-height: 1.5; }
.prose .tm-plate .tm-role { margin-bottom: 10px; color: #666; font-weight: 300; font-size: 1.125rem; }
.tm-name { color: var(--ink); font-weight: 500; font-size: 1.5rem; text-align: right; }
.tm-card:hover .tm-name { color: var(--red); }
.tm-info { position: relative; margin: 15px 16px 0 48px; padding: 0; border-left: 1px solid #ddd; min-height: 42px; }
.tm-info dt { position: absolute; left: -32px; top: 0; width: 32px; padding: 0 5px; text-align: center; color: #999; font-size: .9375rem; line-height: 1.5; }
.tm-info dd { position: relative; margin: 5px 0; padding-left: 22px; color: #777; font-size: .9375rem; line-height: 1.5; }
.tm-info dd::after { content: ""; position: absolute; top: 10px; left: 10px; width: 5px; height: 1px; background: #777; }
@media (max-width: 900px) {
  .team-list { grid-template-columns: 1fr; max-width: 420px; }
  .team-list::before { display: none; }
  .tm { padding-top: 40px; }
}
/* popup: a modal <dialog> with JS, a :target overlay without it */
.tm-box { width: min(1000px, calc(100vw - 32px)); max-height: 90vh; overflow: auto; padding: 60px 40px 30px; border: 0; color: var(--text); }
.tm-box:target:not([open]) { display: block; position: fixed; inset: 5vh 0 auto; margin: 0 auto; z-index: 100; box-shadow: 0 0 0 100vmax rgba(0,0,0,.6); }
.tm-box:focus { outline: none; }
.tm-box::backdrop { background: rgba(0,0,0,.6); }
.tm-brief { display: grid; grid-template-columns: 42% 1fr; gap: 4%; align-items: start; }
.tm-left { position: relative; margin-top: 25px; padding: 10px; background: url("bg_team_list.jpg") repeat; }
.tm-left img { display: block; width: 70%; margin: -25px 0 0; aspect-ratio: 5 / 6; object-fit: cover; }
.tm-left .tm-plate { width: 240px; max-width: calc(100% - 10px); margin: -12px 10px 10px auto; border-color: #fff; background: none; }
.prose .tm-left .tm-plate .tm-role, .tm-left .tm-name { color: #fff; font-weight: 300; }
.tm-left .tm-name { font-weight: 300; font-size: 1.625rem; }
.tm-right .tm-info { margin: 0 0 15px 16px; padding-top: 24px; border-left: 0; }
.tm-right .tm-info dt { left: -16px; width: auto; padding: 0; text-align: left; color: #000; font-weight: 700; }
.tm-right .tm-info dd { margin: 0; padding: 3px 0 3px 22px; border-left: 1px solid #ddd; }
.tm-right .tm-info dd::after { top: 14px; }
.tm-detail { margin-top: 25px; padding-top: 15px; border-top: 1px dashed #ddd; }
.prose .tm-detail h3 { display: inline-block; margin: 20px 0 10px; padding: 0 5px; border-bottom: 3px solid var(--red); font-family: var(--sans); font-size: 1rem; line-height: 1.8; font-weight: 700; color: #000; }
.tm-detail p { margin: 0 0 15px; line-height: 2; }
.prose .tm-close { position: absolute; top: 16px; right: 20px; padding: 4px 12px; border: 1px solid #ccc; color: var(--ink); text-decoration: none; font-size: .9rem; }
.prose .tm-close:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 720px) {
  .tm-box { padding: 56px 20px 24px; }
  .tm-brief { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .member { grid-template-columns: 1fr; } .member > img { width: 160px; } }


/* ---------- home ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero .ticker { font-family: var(--latin); font-weight: 700; color: var(--ring); margin: 0 0 18px; letter-spacing: .04em; }
.hero h1 { margin: 0; font-family: var(--head); font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.2; font-weight: 700; letter-spacing: .1em; }
.hero .en { font-family: var(--latin); font-weight: 500; font-size: clamp(1rem, 1.8vw, 1.3rem); color: #d4d6da; margin: 24px 0 0; max-width: 32em; letter-spacing: .01em; line-height: 1.5; }
.hero .rings { right: -8%; width: min(78vw, 760px); height: min(78vw, 760px); }
.hero .rings circle { stroke: #fff; opacity: .16; }
.hero .rings line { stroke-width: 8; transform-origin: 380px 380px; animation: sweep 1.4s cubic-bezier(.2,.7,.2,1) both .2s; }
@keyframes sweep { from { transform: rotate(-120deg); opacity: 0; } to { transform: rotate(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero .rings line { animation: none; } }
@media (max-width: 720px) { .hero .rings { right: -40%; opacity: .7; } }

.home-section { padding: 88px 0; }
.home-section + .home-section { border-top: 1px solid var(--line); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 32px; }
.section-title h2 { margin: 0; font-family: var(--head); font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 500; letter-spacing: .15em; color: var(--red); }
.section-title a { text-decoration: none; color: var(--ink); white-space: nowrap; }
.section-title a:hover { text-decoration: underline; }

.biz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
@media (max-width: 820px) { .biz { grid-template-columns: 1fr; } }
.biz article { padding-top: 0; }
.biz .pic { aspect-ratio: 16 / 8; background: var(--mist) center / cover no-repeat; margin: 0 0 20px; }
.biz h3 { margin: 0; font-family: var(--head); font-size: 1.375rem; font-weight: 500; letter-spacing: .15em; color: var(--red); }
.biz h3 a { text-decoration: none; }
.biz h3 a:hover { color: var(--red); }
.biz .en { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--graphite); font-size: .875rem; margin: 6px 0 14px; }
.biz p { margin: 0 0 16px; color: #8b8b8b; font-size: .9375rem; line-height: 2; }
.cos { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.cos a { color: var(--ink); text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 8px; }
.cos img { height: 26px; width: auto; max-width: 110px; object-fit: contain; }
.cos a:hover { color: var(--red); }

/* key visual carousel: a scroll-snap track (swipeable, works without JS); site.js adds autoplay + controls */
.kv { position: relative; background: var(--ink); }
.kv-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.kv-track::-webkit-scrollbar { display: none; }
.kv-track:focus-visible { outline-offset: -3px; }
.kv-slide { flex: 0 0 100%; scroll-snap-align: start; }
.kv-slide a, .kv-slide picture { display: block; }
.kv-slide img { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 800; object-fit: cover; }
@media (max-width: 640px) { .kv-slide img { aspect-ratio: 800 / 960; } }
.kv-controls { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px var(--gutter); background: var(--ink); border-bottom: 1px solid #34373d; }
.kv-prev, .kv-next { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: #fff; cursor: pointer; }
.kv-prev svg, .kv-next svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.kv-prev:hover, .kv-next:hover { background: var(--red); }
.kv-dots { display: flex; gap: 6px; padding: 10px 8px; }
.kv-dots button { width: 22px; height: 4px; padding: 0; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .25s, background-color .25s; }
.kv-dots button[aria-current="true"] { width: 40px; background: var(--red); }
.kv-dots button:hover { background: #fff; }
.kv:not(.is-ready) .kv-controls { display: none; }
@media (max-width: 640px) {
  .kv-controls { gap: 4px; padding-top: 6px; padding-bottom: 6px; }
  .kv-prev, .kv-next { height: 34px; }
  .kv-prev, .kv-next { width: 34px; }
  .kv-dots button { width: 14px; }
  .kv-dots button[aria-current="true"] { width: 26px; }
}
@media (prefers-reduced-motion: reduce) { .kv-dots button { transition: none; } }

/* ---------- footer (light, red rule on top; Adobe site: navy) ---------- */
.site-foot { background: #f9f9f9 url("theme/main/footer_bg.png") no-repeat center 0; color: #333; font-size: .875rem; }
.foot-main { display: grid; grid-template-columns: minmax(0, 660px) auto; gap: 30px 40px; padding-top: 50px; padding-bottom: 20px; }
.foot-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-menu h2 { margin: 0 0 5px; padding-left: 20px; background: url("theme/main/icon_footer_menu.png") no-repeat 0 4px; font-size: 1rem; line-height: 1.5; }
.foot-menu h2 a { color: #333; text-decoration: none; }
.foot-menu ul { list-style: none; margin: 0; padding: 0 0 0 20px; }
.foot-menu ul ul { padding-left: 10px; }
.foot-menu li a { display: block; padding: 3px 0; color: #797979; text-decoration: none; line-height: 1.5; }
.foot-menu a:hover { color: #d93f3f; }
.foot-btns { display: grid; gap: 20px; }
.foot-btns a { display: block; width: 150px; height: 50px; border: 1px solid #ccc; border-radius: 25px; line-height: 48px; text-align: center; color: #333; font-weight: 700; text-decoration: none; }
.foot-btns a:hover { border-color: var(--red); color: var(--red); }
.foot-links { grid-column: 1 / -1; list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin: 30px 0 0; padding: 0; }
.foot-links li { display: flex; align-items: center; }
.foot-links li:not(.sns) + li:not(.sns)::before, .foot-links li:not(.sns) + .sns::before { content: ""; width: 1px; height: 12px; margin: 0 12px; background: #ccc; }
.foot-links .sns + .sns::before { display: none; }
.foot-links a { color: #555; text-decoration: none; line-height: 32px; }
.foot-links a:hover { color: var(--red); }
.foot-links .sns a { display: grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; color: #fff; font: 700 13px/1 Arial, Helvetica, sans-serif; }
.foot-links .sns.fb a { background: #3b5998; }
.foot-links .sns.in a { background: #0077b5; }
.foot-links .sns a:hover { color: #fff; opacity: .85; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.copyright { font-size: 14px; color: #333; }
.copyright .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid #d8d8d8; }
.copyright p { margin: 0; }
.copyright .slogan { margin-left: auto; }
.copyright .slogan span { margin-right: 4px; }
.btn-grandtech img { display: block; }
@media (max-width: 820px) { .foot-main { grid-template-columns: 1fr; } .foot-menu { grid-template-columns: 1fr 1fr; } .foot-btns { grid-auto-flow: column; justify-content: start; } .copyright .slogan { margin-left: 0; } }

/* ---------- Adobe 專屬學院: the original's blue / navy / lime theme ---------- */
.site-adobe { background: #0467ff; }
.site-adobe main { background: none; }
.site-adobe .topbar { background: #032c6a; border: 0; }
.site-adobe .topbar .label { color: #def756; }
.site-adobe .group-links > li > a { color: #fff; }
.site-adobe .group-links > li:hover > a, .site-adobe .group-links > li:focus-within > a { color: #def756; }
.site-adobe .primary > ul > li:hover > a, .site-adobe .primary > ul > li.is-current > a { color: #0467ff; }
.site-adobe .primary > ul > li > a::after, .site-adobe .primary .sub { border-color: #0467ff; background-color: #0467ff; }
.site-adobe .primary .sub { background: #fff; }
.site-adobe .page-head { background: url("theme/adobe/page_title_bg2.png") no-repeat 30% 0 / auto 100%; margin: 0; text-align: center; overflow: hidden; }
.site-adobe .page-head::before { top: 0; left: 0; width: 180px; height: 110px; padding: 0; background: linear-gradient(135deg, #5af0e8 0 50%, transparent 50%); opacity: .9; }
.site-adobe .page-head::after { top: auto; bottom: 0; left: auto; right: 22%; width: 160px; height: 60px; background: url("theme/adobe/pattern1.png") repeat; opacity: .5; }
.site-adobe .page-head .wrap { padding: 20px var(--gutter) 18px; }
.site-adobe .page-head .wrap::before, .site-adobe .page-head .wrap::after { display: none; }
.site-adobe .page-name { display: inline-block; padding: 0; background: none; font-size: 2.25rem; line-height: 1.5; color: #fff; }
.site-adobe .crumbs ol { justify-content: center; }
.site-adobe .crumbs a, .site-adobe .crumbs li, .site-adobe .crumbs li[aria-current] { color: #fff; }
.site-adobe .crumbs li[aria-current] { font-weight: 700; }
.site-adobe .crumbs li + li::before { border-color: #fff; }
.site-adobe .crumbs a:hover { color: #fadd56; }
.site-adobe .layout { background: #fff; max-width: calc(var(--wrap) + 2 * var(--gutter)); padding-top: 30px; padding-bottom: 60px; margin-bottom: 60px; }
.site-adobe .site-foot { background: #032c6a; color: #fff; }
.site-adobe .foot-main { grid-template-columns: minmax(0, 600px); padding-top: 60px; }
.site-adobe .foot-menu h2 { padding-left: 0; background: none; }
.site-adobe .foot-menu h2 a { color: #def756; }
.site-adobe .foot-menu ul { padding-left: 0; }
.site-adobe .foot-menu li a { color: #fff; }
.site-adobe .foot-menu a:hover { color: #def756; }
.site-adobe .foot-links a { color: #fff; }
.site-adobe .copyright { background: #032c6a; color: #fff; }
.site-adobe .copyright .slogan { font-size: 13px; font-weight: 300; }

@media print {
  .topbar, .site-head, .site-foot, .side-nav, .rings, .years { display: none !important; }
  .layout.has-side { display: block; }
  .year-panel[hidden] { display: block !important; }
}

/* IR mini-app: the red "公開資訊觀測站" button above the year tabs */
.prose a.announcement-link { display: inline-block; margin: 0 0 20px; padding: 8px 20px; background: #e60012; color: #fff; font-size: .875rem; font-weight: 700; text-decoration: none; border-radius: 2px; }
.prose a.announcement-link:hover { background: #b31b18; color: #fff; }

/* ---------- Adobe home: key visual, WHAT'S NEW band, event cards with navy captions, image / text blocks ---------- */
.site-adobe .kv, .site-adobe .kv-controls { background: #032c6a; }
.whats-new { background: #def756; color: transparent; -webkit-text-stroke: 2px #fff; font: 700 clamp(3rem, 9vw, 8rem)/1.1 Arial, Helvetica, sans-serif; letter-spacing: .12em; text-align: center; padding: 10px 0; overflow: hidden; white-space: nowrap; }
.a-events { background: #fff; padding: 60px 0 80px; }
.a-title { display: flex; align-items: flex-start; gap: 4px; margin: 0 0 50px; font-family: var(--head); font-size: 1.75rem; font-weight: 400; letter-spacing: .15em; color: #032c6a; }
.a-title span { font: 400 .625rem Arial, Helvetica, sans-serif; letter-spacing: .15em; text-transform: uppercase; padding-top: 2px; }
.a-events .a-title { border-bottom: 2px solid #032c6a; padding-bottom: 4px; }
.a-cards { list-style: none; max-width: 1000px; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px 60px; }
@media (max-width: 820px) { .a-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; } }
.a-cards a { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.a-cards .pic { display: block; width: 100%; aspect-ratio: 4 / 3; background: #eee center / cover no-repeat; }
.a-cards .t { position: relative; margin-top: -20px; width: 68%; padding: 10px 12px; background: #032c6a; color: #fff; font-family: var(--head); font-size: .9375rem; line-height: 1.5; text-align: center; letter-spacing: 1px; }
.a-cards a:hover .t { background: #0467ff; }
.a-cards .d { margin-top: 12px; color: #777; font-size: .875rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.a-blocks { padding: 60px 0 100px; color: #fff; }
.a-block { display: grid; grid-template-columns: 55% 1fr; gap: 50px; align-items: center; margin: 0 0 80px; }
.a-block:nth-child(even) .pic { order: 2; }
.a-block .pic { aspect-ratio: 16 / 10; background: center / cover no-repeat; }
.a-block .a-title { color: #fff; margin-bottom: 20px; }
.a-block p { margin: 0 0 20px; line-height: 2; font-size: .9375rem; }
.a-block .more a { display: inline-block; padding: 0 30px; border: 1px solid #fff; color: #fff; line-height: 40px; text-decoration: none; }
.a-block .more a:hover { background: #def756; border-color: #def756; color: #032c6a; }
@media (max-width: 820px) { .a-block { grid-template-columns: 1fr; gap: 20px; } .a-block:nth-child(even) .pic { order: 0; } .a-cards { padding: 0; } }

/* ---------- group home: section titles with the original's triangle icon and an italic English label ---------- */
.section-title h2 { display: flex; align-items: center; gap: 12px; padding-left: 70px; min-height: 57px; background: url("theme/main/icon_index_title.png") no-repeat 0 center; }
.section-title h2 small { font: italic 400 .875rem Georgia, "Times New Roman", serif; letter-spacing: 0; color: #555; }
.biz h3 { padding-left: 64px; min-height: 57px; display: flex; align-items: center; background: url("theme/main/icon_index_title.png") no-repeat 0 center; }

/* ESG report page: the white panel with a green-ruled heading */
.prose:has(> .report-cards) { background: #fff; padding: 30px; }
.prose:has(> .report-cards) > h2 { margin-top: 0; padding-left: 10px; border-left: 4px solid #1f6b4f; font-size: 1.25rem; color: #222; }

/* monthly revenue (as on the original: grey box, centred bordered table, year in the first header cell, blue total row) */
.data-box { margin-top: 30px; padding: 30px 24px 24px; background: #f4f4f6; }
.data-box > p { margin: 0 0 20px; color: #555; }
.data-box > p:last-child { margin: 16px 0 0; font-size: .875rem; }
.prose table.data.by-year { border: 1px solid #ddd; background: #fff; }
.prose table.data.by-year th, .prose table.data.by-year td { text-align: center; border: 1px solid #ddd; padding: 12px 10px; color: #333; }
.prose table.data.by-year thead th { background: #ddd; font-weight: 500; font-size: 1.0625rem; }
.prose table.data.by-year tbody tr:nth-child(even) td { background: #f7f7f7; }
.prose table.data.by-year tr.total td { background: #c9e1ea; font-weight: 400; }

/* 董事會及功能性委員會: the original renders this page's own embedded design (white sheet, navy headings, orange bar on h3, bordered file table) */
.prose:has(td.download-cell) { background: #fff; padding: 36px 40px 56px; color: #333; line-height: 1.85; }
.prose:has(td.download-cell) h2 { margin: 44px 0 18px; color: #15385f; font-size: 1.875rem; font-weight: 700; line-height: 1.35; border: 0; padding: 0; }
.prose:has(td.download-cell) > h2:first-child { margin-top: 0; }
.prose:has(td.download-cell) h3 { margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid #f15a24; color: #15385f; font-size: 1.375rem; font-weight: 700; line-height: 1.45; }
.prose:has(td.download-cell) h4 { margin: 22px 0 10px; color: #15385f; font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
.prose:has(td.download-cell) p { margin: 0 0 13px; text-align: justify; color: #333; font-size: 1rem; }
.prose:has(td.download-cell) h2:has(+ .table-wrap) { margin-top: 52px; }
.prose:has(td.download-cell) table.data { table-layout: fixed; border-collapse: collapse; width: 100%; }
.prose:has(td.download-cell) table.data th, .prose:has(td.download-cell) table.data td { padding: 14px 10px; border: 1px solid #d7d7da; text-align: left; vertical-align: middle; }
.prose:has(td.download-cell) table.data thead th { background: #bcbcbc; color: #333; font-size: 1.125rem; font-weight: 700; }
.prose:has(td.download-cell) table.data thead th:nth-child(1) { width: 52%; }
.prose:has(td.download-cell) table.data thead th:nth-child(2) { width: 15%; text-align: center; }
.prose:has(td.download-cell) table.data tbody tr:nth-child(odd) td { background: #f2f2f4; }
.prose:has(td.download-cell) table.data tbody tr:nth-child(even) td { background: #fff; }
.prose:has(td.download-cell) table.data tbody tr:hover td { background: #fff4ef; }
.prose:has(td.download-cell) table.data td { color: #555; font-size: 1rem; }
.prose td.download-cell { text-align: center; }
/* the original's outline PDF glyph in red */
.prose td.download-cell a.dl::after { width: 25px; height: 29px; vertical-align: middle; background: #ed1740;
  -webkit-mask: var(--pdf-glyph) center / contain no-repeat; mask: var(--pdf-glyph) center / contain no-repeat;
  --pdf-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 36' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 2.5c.7 6.6 2 11.3 4.4 16.1M18.9 18.6c-4.1 1-8.1 2.7-11.9 5.2M18.9 18.6c3.2 4.7 6.2 6.3 8.8 5.6M7 23.8c-2.6 1.8-4.1 4.1-3.2 5.1 1.1 1.2 3.8-.8 5.3-4.1M14.5 2.5c-.7-.5-1.5.4-1.4 2.1.1 2.2.7 4.4 1.6 6.3M27.7 24.2c1.2-.3 1.6-1.2.8-1.9-1.2-1.1-3.9-1.5-6.4-1.2'/%3E%3C/svg%3E"); }
.prose td.download-cell a.dl { padding: 3px 8px; border-radius: 4px; transition: background-color .15s; }
.prose td.download-cell a.dl:hover { background: rgb(237 23 64 / 9%); }
@media (max-width: 700px) { .prose:has(td.download-cell) { padding: 24px 16px 40px; } .prose:has(td.download-cell) p { text-align: left; } }
/* 股利分配: the original's embedded design (white sheet, blue-grey tables, bordered chart card) */
.prose:has(table.latest-table) { background: #fff; padding: 36px 40px 70px; color: #333; font-size: 1.0625rem; line-height: 1.7; }
.prose:has(table.latest-table) > h2 { position: relative; margin: 52px 0 22px; padding-left: 15px; color: #333; font-size: 1.5625rem; font-weight: 700; line-height: 1.4; border: 0; }
.prose:has(table.latest-table) > h2:first-child { margin-top: 0; }
.prose:has(table.latest-table) > h2::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 0; width: 5px; background: #385a6c; }
.prose table.latest-table { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; border: 0; }
.prose table.latest-table th, .prose table.latest-table td { padding: 18px 24px; font-size: 1.125rem; vertical-align: middle; border: 0; }
.prose table.latest-table th { width: 44%; background: #c7dfe9; color: #365061; text-align: center; font-weight: 700; }
.prose table.latest-table td, .prose table.latest-table tr:nth-child(n) td { background: #e8eff3; color: #3d4c54; }
.prose table.latest-table td.waiting { color: #926d1c; font-weight: 700; }
.prose .note-box { margin: 16px 0 0; padding: 14px 18px; background: #f7fafb; border-left: 4px solid #789aaa; color: #4d5a61; font-size: .9375rem; line-height: 1.85; }
.prose .chart-card { padding: 25px 24px 22px; background: #fff; border: 1px solid #d9e0e4; border-radius: 4px; }
.prose .chart-card > h3 { margin: 0; color: #555; font-size: 1.3125rem; font-weight: 700; text-align: center; border: 0; padding: 0; }
.prose .chart-card > h3 + p { margin: 4px 0 14px; color: #777; font-size: .875rem; text-align: center; }
.prose .chart-card > p { margin: 14px 0 0; color: #6d6d6d; font-size: .8125rem; line-height: 1.8; }
.prose .chart-card .chart { margin: 0; }
.prose .chart-card .chart rect[fill="var(--ink)"] { fill: #1976d2; }
.prose .chart-card .chart rect[fill="var(--red)"] { fill: #ed7d31; }
.prose .chart-card .chart rect[fill="var(--ring)"] { fill: #aaa9a9; }
.prose .chart-card .chart-legend { justify-content: center; gap: 22px; color: #555; font-size: .875rem; }
.prose .chart-card .chart-legend li:nth-child(1) span { background: #1976d2 !important; }
.prose .chart-card .chart-legend li:nth-child(2) span { background: #ed7d31 !important; }
.prose .chart-card .chart-legend li:nth-child(3) span { background: #aaa9a9 !important; }
.prose .chart-card .table-wrap { margin-top: 22px; }
.prose table.summary-table { border-collapse: collapse; table-layout: fixed; width: 100%; }
.prose table.summary-table th, .prose table.summary-table td { padding: 10px 8px; border: 1px solid #d9e0e4; text-align: center; font-size: .875rem; color: #333; background: #fff; }
.prose table.summary-table thead th { background: #dbe8ee; color: #365062; font-weight: 700; }
.prose table.summary-table tbody th { background: #eef4f6; color: #365062; font-weight: 700; }
.prose table.summary-table tr.payout-row td { color: #175997; font-weight: 700; }
.prose:has(table.history-table) .table-wrap:has(> table.history-table) { border-top: 1px solid #d9e0e4; border-left: 1px solid #d9e0e4; }
.prose table.history-table { border-collapse: collapse; table-layout: fixed; width: 100%; min-width: 860px; }
.prose table.history-table thead th { padding: 14px 10px; background: #c7dfe9; color: #365062; border: 0; border-right: 1px solid #fff; border-bottom: 1px solid #fff; text-align: center; font-size: .9375rem; font-weight: 700; line-height: 1.5; }
.prose table.history-table tbody td { padding: 12px 10px; border: 0; border-right: 1px solid #e7ecef; border-bottom: 1px solid #e7ecef; color: #3d4b53; font-size: .9375rem; text-align: center; vertical-align: middle; }
.prose table.history-table tbody tr:nth-child(odd) td { background: #f4f6f7; }
.prose table.history-table tbody tr:nth-child(even) td { background: #fff; }
.prose table.history-table tbody td:nth-child(1) { color: #31586c; font-weight: 700; }
.prose table.history-table tbody td:nth-child(3) { color: #214f66; font-weight: 700; }
@media (max-width: 768px) { .prose:has(table.latest-table) { padding: 26px 15px 50px; } .prose:has(table.latest-table) > h2 { font-size: 1.375rem; } }
/* 主要股東: the original's embedded design (white sheet, blue-grey table) */
.prose:has(table.shareholder-table) { background: #fff; padding: 36px 40px 70px; color: #333; font-size: 1.0625rem; line-height: 1.7; }
.prose:has(table.shareholder-table) > h2 { position: relative; margin: 0 0 22px; padding-left: 15px; color: #333; font-size: 1.625rem; font-weight: 700; line-height: 1.4; border: 0; }
.prose:has(table.shareholder-table) > h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; background: #355a6d; }
.prose:has(table.shareholder-table) .table-info { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 12px; color: #68757d; font-size: .9375rem; }
.prose:has(table.shareholder-table) .table-info strong { color: #40535e; font-weight: 600; }
.prose:has(table.shareholder-table) .table-wrap:has(> table.shareholder-table) { border-top: 1px solid #d8e0e4; border-left: 1px solid #d8e0e4; }
.prose table.shareholder-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.prose table.shareholder-table col:nth-child(1) { width: 55%; }
.prose table.shareholder-table col:nth-child(2) { width: 25%; }
.prose table.shareholder-table col:nth-child(3) { width: 20%; }
.prose table.shareholder-table thead th { padding: 15px 16px; background: #c7dfe9; color: #35515f; border: 0; border-right: 1px solid #fff; border-bottom: 1px solid #fff; font-size: 1rem; font-weight: 700; text-align: center; vertical-align: middle; }
.prose table.shareholder-table tbody td { padding: 14px 16px; border: 0; border-right: 1px solid #e7ecef; border-bottom: 1px solid #e7ecef; color: #3e4b52; font-size: 1rem; vertical-align: middle; }
.prose table.shareholder-table tbody tr:nth-child(odd) td { background: #f5f7f8; }
.prose table.shareholder-table tbody tr:nth-child(even) td { background: #fff; }
.prose table.shareholder-table td.name { font-weight: 600; color: #344d5b; text-align: left; }
.prose table.shareholder-table td.shares { text-align: right; font-variant-numeric: tabular-nums; }
.prose table.shareholder-table td.ratio { text-align: center; color: #31586c; font-weight: 700; }
.prose:has(table.shareholder-table) > p:last-child { margin: 14px 0 0; color: #68757d; font-size: .875rem; line-height: 1.8; }
@media (max-width: 768px) { .prose:has(table.shareholder-table) { padding: 26px 15px 50px; } .prose:has(table.shareholder-table) > h2 { font-size: 1.375rem; } .prose:has(table.shareholder-table) .table-info { display: block; } .prose:has(table.shareholder-table) .table-info span { display: block; } }
/* 投資人服務: the original's embedded design (white sheet, code bar, two contact cards) */
.prose:has(.service-grid) { background: #fff; padding: 36px 40px 70px; color: #333; font-size: 1.0625rem; line-height: 1.7; }
.prose:has(.service-grid) > h2 { position: relative; margin: 0 0 28px; padding-left: 15px; color: #333; font-size: 1.625rem; font-weight: 700; line-height: 1.4; border: 0; }
.prose:has(.service-grid) > h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; background: #355a6d; }
.prose .company-code { margin: 0 0 28px; padding: 16px 20px; background: #f3f7f9; border-left: 4px solid #355a6d; color: #40535e; font-size: 1.125rem; }
.prose .company-code strong { color: #244d61; font-weight: 700; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card { background: #fff; border: 1px solid #d8e1e5; border-radius: 4px; overflow: hidden; }
.prose .service-card__header { margin: 0; padding: 15px 20px; background: #dce9ef; color: #35515f; font-size: 1.25rem; font-weight: 700; line-height: 1.7; border: 0; }
.service-card__body { padding: 22px; }
.service-card .agency-name { display: block; margin-bottom: 14px; color: #2f4f60; font-size: 1.125rem; font-weight: 700; }
.service-card .info-list { margin: 0; }
.service-card .info-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid #edf1f3; }
.service-card .info-row:last-child { border-bottom: 0; }
.service-card .info-row dt { margin: 0; color: #687983; font-weight: 600; }
.service-card .info-row dd { margin: 0; color: #34464f; }
.prose .service-card a { color: #2f6f8f; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.prose .service-card a:hover { color: #1e5976; border-bottom-color: currentColor; }
@media (max-width: 800px) { .service-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .prose:has(.service-grid) { padding: 26px 15px 50px; } .prose:has(.service-grid) > h2 { font-size: 1.375rem; } .service-card__body { padding: 18px 16px; } .service-card .info-row { display: block; padding: 10px 0; } .service-card .info-row dt { margin-bottom: 3px; font-size: .875rem; } }