/* 頁首背景 */
.site-header {
  background-color: #faf8fc !important;
  border-bottom: 1px solid #e8e0f0 !important;
}

/* 導覽列連結 */
.main-header-menu .menu-item a {
  color: #3a3040 !important;
  font-family: 'Noto Serif TC', serif !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
}

.main-header-menu .menu-item a:hover {
  color: #8e74a8 !important;
}

/* 頁尾背景 */
.site-footer {
  background-color: #ede8f5 !important;
  color: #7a6a86 !important;
  font-family: 'Noto Serif TC', serif !important;
  font-size: 13px !important;
}/* ── 文章列表頁 ── */
.ast-article-post,
article.ast-article-inner {
  display: flex !important;
  flex-direction: row !important;
  gap: 28px !important;
  padding: 32px 0 !important;
  border-bottom: 1px solid #e8e0f0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ast-blog-featured-section {
  flex-shrink: 0 !important;
  width: 200px !important;
  height: 133px !important;
  overflow: hidden !important;
  border-radius: 4px !important;
}

.ast-blog-featured-section img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.entry-title a {
  color: #3a3040 !important;
  text-decoration: none !important;
}

.entry-title a:hover {
  color: #8e74a8 !important;
}

.entry-summary p {
  font-size: 13px !important;
  line-height: 1.85 !important;
  color: #7a6a86 !important;
  font-weight: 300 !important;
}

.entry-meta .posted-on,
.entry-meta .byline {
  font-size: 11px !important;
  color: #a899b5 !important;
}

.cat-links a {
  font-size: 10px !important;
  letter-spacing: 2px !important;
  color: #8e74a8 !important;
}

/* ── 分頁按鈕 ── */
.page-numbers {
  border: 1px solid #e8e0f0 !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  color: #7a6a86 !important;
}

.page-numbers:hover,
.page-numbers.current {
  background: #8e74a8 !important;
  border-color: #8e74a8 !important;
  color: white !important;
}/* ── 文章內頁段落間距 ── */
.entry-content p {
  margin-bottom: 1.8em !important;
  line-height: 2.2 !important;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2em !important;
  margin-bottom: 0.8em !important;
}/* ── 隱藏頁面標題 ── */
.entry-title.page-title,
.page-header {
  display: none !important;
}/* ── 隱藏Blog頁標題 ── */
.page-title {
  display: none !important;
}

/* ── 修正頁首顏色（手機版）── */
.ast-mobile-header-wrap,
#masthead {
  background-color: #faf8fc !important;
}
/* ── 八字論命頁面 global ── */
:root {
  --bazi-purple: #b8a9c9;
  --bazi-deep: #7a6a8a;
  --bazi-rose: #c9a8a0;
  --bazi-cream: #faf7f4;
}

@keyframes bazi-fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bazi-driftUp {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.bazi-label {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--bazi-rose);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.phil-quote {
  margin: 28px 0;
  padding: 20px 28px;
  border-left: 3px solid var(--bazi-purple);
  background: linear-gradient(90deg, rgba(184,169,201,0.08), transparent);
  font-size: 1rem;
  font-weight: 400;
  color: var(--bazi-deep);
  line-height: 2;
  letter-spacing: 0.04em;
  font-style: italic;
  font-family: 'Noto Serif TC', serif;
}

.bazi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 600px) {
  .bazi-grid { grid-template-columns: 1fr; }
}
.bazi-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(184,169,201,0.25);
  border-radius: 2px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Noto Serif TC', serif;
}
.bazi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(122,106,138,0.12);
}
.bazi-card-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: block;
  color: var(--bazi-purple);
}
.bazi-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bazi-deep);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.bazi-card p {
  font-size: 0.875rem;
  line-height: 2;
  color: #6b5f65;
  font-weight: 300;
}

.emphasis-box {
  margin: 36px 0;
  padding: 32px 36px;
  background: linear-gradient(135deg,
    rgba(184,169,201,0.12) 0%,
    rgba(232,213,208,0.12) 100%);
  border: 1px solid rgba(184,169,201,0.3);
  border-radius: 2px;
  text-align: center;
  font-family: 'Noto Serif TC', serif;
}
.emphasis-box p {
  font-size: 1rem;
  line-height: 2.1;
  color: #3a3035;
  font-weight: 400;
  letter-spacing: 0.06em;
}
.emphasis-box p + p {
  margin-top: 14px;
  color: #6b5f65;
  font-size: 0.9rem;
  font-weight: 300;
}