/* =========================================
   styles.css  — Global minimal + Home overrides
   與 AI_wound.css 共存，不衝突
   ========================================= */

/* Reset / Basics */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, video { max-width: 100%; height: auto; display: block; }

/* 若頁面尚未載入 AI_wound.css，提供安全的字體與背景 */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans TC",
               "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: #0f1220;     /* 與 AI_wound 的 var(--bg) 相近 */
  color: #e9ecf5;
}

/* ------ Home: 四張壓力圖（沿用 video-frame 卡片外觀） ------ */
/* 只定義新的容器與圖片呈現；邊框/陰影由 AI_wound.css 的 .video-frame 負責 */
.press-gallery{
  max-width: 1100px;
  margin: 12px auto 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 16px;
}

.press-frame { overflow: hidden; }
.press-img{
  width: 100%;
  height: auto;
  /* 圖檔多為黑底直向熱圖，使用 contain 避免裁切；維持比例 */
  object-fit: contain;
  background: #000;       /* 若圖偏窄，以黑底填充 */
  /* 統一高度可視化：若想更整齊，可解開下一行固定比例
     aspect-ratio: 3 / 4; */
}

/* ------ RWD 與 AI_wound.css 的斷點一致 ------ */
@media (max-width: 1100px){
  .press-gallery{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px){
  .press-gallery{ grid-template-columns: 1fr; }
}

/* 讓 figcaption 與全站一致（如果沒載到 AI_wound.css 也能看） */
figure figcaption{
  font-size: .9rem;
  opacity: .85;
  padding: 8px 12px;
}

/* Footer 最低限度對齊（AI_wound.css 已有 .footer 時此段不會造成視覺衝突） */
footer.footer{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 16px;
  text-align: center;
  color: #aab1c7;
}
