/* 案例圖片：圓角＋陰影＋hover 效果 */
.case-img img {
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-img img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

/* 區塊：project-intro */
.project-intro {
  background: rgba(0, 74, 173, 0.85);
  padding: 20px;
  color: #F8F7F3;
  border-radius: 8px;
  margin: 24px 0;
}
.project-intro h2,
.project-intro h3,
.project-intro h4 {
  color: #F8F7F3;
  margin-top: 0;
}
.project-intro p {
  color: #F8F7F3;
  line-height: 1.6;
  margin: 0;
}

/* 小標籤式：背景只包住文字 */
.project-label {
  display: inline-block;
  background: rgba(0, 74, 173, 0.85);
  color: #F8F7F3;
  padding: 12px 20px;
  border-radius: 6px;
  line-height: 1.4;
  margin: 16px 0;
}

/* 固定 header
   ★ 修正：加了 background-color:#fff，避免捲動時內容文字透過 header 顯示 */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: #F8F7F3;
}
body {
  padding-top: 80px;
}

/* 給 SEO 用的隱藏段落 */
p.seo-hidden {
  display: none;
}

/* 單一文章頁：隱藏日期、分類、作者等 meta */
.single-post .entry-meta,
.single-post .nv-meta-list,
.single-post .posted-on,
.single-post .nv-meta-date,
.single-post .nv-meta-author,
.single-post .nv-meta-cat,
.single-post .cat-links {
  display: none !important;
}

/* 單一文章頁：隱藏 tags 區塊 */
.single-post .tags-links,
.single-post .nv-tags-list,
.single-post .entry-footer {
  display: none !important;
}

/* 單一文章頁：隱藏主題自己產生的標題（上面那行 H1） */
.single-post .entry-title,
.single-post .nv-title-meta-wrap {
  display: none !important;
}

/* 頁尾版權同一行（MGL-61，雲端 FOX 2026-11-26） */
@media (min-width: 600px) {
  .footer-bottom-inner .component-wrap > div { flex: 0 0 auto; max-width: 100%; }
  .footer-bottom-inner .component-wrap p { white-space: nowrap; }
}

/* 頁首：Logo 旁的「米思行銷／Mi's Marketing」兩行置中、不換行；按鈕和 CONTACT 不換行（MGL-61，雲端 FOX 2026-11-26） */
.builder-item--logo .nv-title-tagline-wrap { text-align: center; white-space: nowrap; }
.builder-item--button_base .button, .builder-item--button_base a { white-space: nowrap; }
.builder-item--custom_html p { margin: 0; white-space: nowrap; }
.builder-item--custom_html a { color: var(--nv-primary-accent); font-weight: 700; text-decoration: none; letter-spacing: .03em; }

/* 手機和平板：頁首只放 Logo 和右邊的選單（三條線），不顯示「米思行銷／Mi's Marketing」（MGL-61，雲端 FOX 2026-11-26） */
@media (max-width: 959px) {
  .builder-item--logo .nv-title-tagline-wrap { display: none; }
}

/* 頁首固定但不蓋住第一行：改用 sticky，頁首多高、內容就自動讓多少（MGL-61，雲端 FOX 2026-11-26） */
header.header { position: sticky; top: 0; }
body { padding-top: 0; overflow-x: clip !important; }
.wrapper { overflow: clip !important; }
.admin-bar header.header { top: 32px; }
@media (max-width: 782px) { .admin-bar header.header { top: 46px; } }
@media (max-width: 600px) { .admin-bar header.header { top: 0; } }

/* 手機頁首縮小：Logo 變小、上下留白變少，下方內容多一點空間（MGL-61，雲端 FOX 2026-11-26） */
@media (max-width: 959px) {
  .header-main .header--row-inner, .header-main-inner { min-height: 0 !important; padding-top: 0; padding-bottom: 0; }
  .header-main .builder-item { padding-top: 0; padding-bottom: 0; }
}

/* 分享按鈕、按讚拿掉（MGL-61，雲端 FOX 2026-11-26） */
.sharedaddy, .sd-sharing-enabled, .jetpack-likes-widget-wrapper, .sd-like { display: none !important; }