/* 方案（商品）與資料下載：列表頁和每一項的頁。深色矮版標題＋淺底內容，跟部落格同一套 */

/* ---------- 標題 ---------- */
.it-hero { min-height: 0; padding: clamp(120px, 16vh, 160px) 0 clamp(48px, 7vh, 72px); align-items: stretch; content-visibility: visible; }
.it-hero::after { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(237, 28, 36, .10), transparent); pointer-events: none; }
.it-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 5vw, 80px); align-items: end; }
.it-hero h1 { font-size: clamp(44px, 6vw, 96px); line-height: 1.08; letter-spacing: -.01em; font-weight: 900; text-wrap: balance; }
.it-hero h1 i { display: inline-block; width: .16em; height: .16em; margin-left: .06em; background: var(--red); vertical-align: baseline; }
.it-lead { color: rgba(242, 240, 236, .78); }

/* ---------- 列表 ---------- */
.it-sec { min-height: 0; padding: clamp(72px, 11vh, 120px) 0 clamp(80px, 12vh, 140px); align-items: stretch; }
.it-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 6vh, 72px) clamp(20px, 2.2vw, 32px); }
.it-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.it-pic { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #0B0B0D; }
.it-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.it-pic.doc { aspect-ratio: 3 / 4; background: #16161A; }
.it-pic.doc img { object-fit: contain; padding: 18px; }
.it-ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 22px; font-family: var(--wide); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(26px, 2.4vw, 38px); line-height: 1; color: #F2F0EC; }
.it-ph i { width: .2em; height: .2em; margin-left: .08em; background: var(--red); }
.it-meta { margin-top: 22px; font: 400 12px/1.4 var(--mono); letter-spacing: .12em; color: var(--mute); }
.it-t { margin-top: 10px; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.45; font-weight: 700; color: var(--ink); text-wrap: pretty; }
.it-t a { color: inherit; text-decoration: none; }
.it-t a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 18px; }
.it-t a:focus-visible { outline: none; }
.it-t a:focus-visible::after { outline: 2px solid var(--red-text); outline-offset: 6px; }
.it-sum { margin-top: 10px; font-size: 15.5px; line-height: 1.8; color: var(--ink-2); }
.it-go { margin-top: auto; padding-top: 18px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.it-go span { display: inline-block; margin-left: 6px; color: var(--red-text); transition: translate .4s var(--ease); }
.it-card:hover .it-go span { translate: 6px 0; }

/* 後台還沒有資料時：指向現有的介紹頁 */
.it-fall { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.it-fall li { border-bottom: 1px solid var(--line-2); }
.it-fall a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 24px; gap: 8px 32px; align-items: baseline; padding: 28px 0; color: var(--ink); text-decoration: none; }
.it-fall b { font-size: clamp(22px, 2.2vw, 34px); font-weight: 900; line-height: 1.25; }
.it-fall span { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.it-fall em { font-style: normal; color: var(--red-text); transition: translate .4s var(--ease); }
.it-fall a:hover em, .it-fall a:focus-visible em { translate: 6px 0; }
.it-note { margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.it-note a { color: var(--ink); text-underline-offset: 4px; }

/* ---------- 每一項的頁 ---------- */
.ip-head { min-height: 0; padding: clamp(120px, 16vh, 160px) 0 clamp(48px, 7vh, 72px); align-items: stretch; content-visibility: visible; }
.ip-head h1 { font-size: clamp(38px, 4.8vw, 76px); line-height: 1.12; font-weight: 900; text-wrap: balance; max-width: 18em; }
.ip-model { margin-top: 16px; font: 400 13px/1.4 var(--mono); letter-spacing: .12em; color: rgba(242, 240, 236, .6); }
.ip-sum { margin-top: 22px; max-width: 40em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.8; color: rgba(242, 240, 236, .8); }
.ip-read { min-height: 0; padding: clamp(64px, 10vh, 110px) 0 clamp(80px, 12vh, 140px); align-items: stretch; }
.ip-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.ip-pics { display: grid; gap: 14px; }
.ip-pics img { width: 100%; height: auto; border-radius: 18px; background: #0B0B0D; }
.ip-feats { list-style: none; margin: 0 0 36px; padding: 0; border-top: 1px solid var(--line-2); }
.ip-feats li { position: relative; padding: 16px 0 16px 22px; border-bottom: 1px solid var(--line-2); font-size: 17px; line-height: 1.6; font-weight: 500; color: var(--ink); }
.ip-feats li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 7px; height: 7px; background: var(--red); }
.ip-specs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); margin: 0 0 36px; border-top: 1px solid var(--line-2); }
.ip-specs dt, .ip-specs dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.6; }
.ip-specs dt { color: var(--mute); padding-right: 16px; }
.ip-specs dd { color: var(--ink); font-weight: 500; }
.ip-price { margin: 0 0 28px; font-size: clamp(22px, 2vw, 30px); font-weight: 900; color: var(--ink); }
.ip-body { margin-top: clamp(48px, 7vh, 80px); max-width: 46em; font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.ip-body h2 { margin: 2em 0 .6em; font-size: clamp(22px, 2vw, 30px); line-height: 1.35; color: var(--ink); }
.ip-body h3 { margin: 1.6em 0 .5em; font-size: 19px; color: var(--ink); }
.ip-body p, .ip-body ul, .ip-body ol { margin: 0 0 1.1em; }
.ip-body a { color: var(--ink); text-underline-offset: 4px; }
.ip-body img { max-width: 100%; height: auto; border-radius: 14px; }
.ip-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ip-body th, .ip-body td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; }

/* 下載頁：每一頁的圖和文字 */
.ip-pages { list-style: none; margin: clamp(48px, 7vh, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px); }
.ip-page figure { margin: 0; }
.ip-page img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 50px -34px rgba(11, 11, 13, .5); background: #fff; }
.ip-page figcaption { margin-top: 12px; font: 400 12px/1.4 var(--mono); letter-spacing: .12em; color: var(--mute); }
.ip-page details { margin-top: 8px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.ip-page summary { cursor: pointer; font-weight: 500; color: var(--ink); }
.ip-dl[data-state="unavailable"] { display: none; }

.ip-cta { margin-top: clamp(56px, 8vh, 96px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 3vw, 44px); border-radius: 22px; background: #0B0B0D; color: #F2F0EC; }
.ip-cta p { font-size: clamp(20px, 1.8vw, 28px); font-weight: 900; line-height: 1.4; }
.ip-cta .btn:focus-visible { outline-color: #F2F0EC; }

/* 精簡頁尾（同隱私權政策頁）與分頁 */
.finale.pv-foot { min-height: 0; padding: 40px 0 36px; }
.finale.pv-foot .foot { margin-top: 0; }
.kn-pager { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(56px, 8vh, 88px); padding-top: 22px; border-top: 1px solid var(--line-2); font: 400 13px/1 var(--mono); letter-spacing: .1em; color: var(--mute); }
.kn-pager a { color: var(--ink); text-decoration: none; }

@media (max-width: 1080px) {
  .it-top, .ip-grid { grid-template-columns: minmax(0, 1fr); }
  .it-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .it-list, .ip-pages { grid-template-columns: minmax(0, 1fr); }
  .it-fall a { grid-template-columns: minmax(0, 1fr) 20px; }
  .it-fall b { grid-column: 1; grid-row: 1; }
  .it-fall em { grid-column: 2; grid-row: 1; }
  .it-fall span { grid-column: 1 / -1; grid-row: 2; }
  .ip-specs { grid-template-columns: minmax(0, 1fr); }
  .ip-specs dt { padding-bottom: 0; border-bottom: 0; }
}
