/* ==============================
   Footer contrast (site-wide)
   ============================== */
footer{
  background: rgba(0,0,0,0.22) !important;
}
footer p,
footer li,
footer small,
footer span,
footer div{
  opacity: 1 !important;
  color: rgba(255,255,255,0.86) !important;
}
footer a{
  color: rgba(255,255,255,0.96) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
footer h1, footer h2, footer h3, footer h4, footer h5{
  color: rgba(255,255,255,0.92) !important;
}
/* ==============================
   Policy + Contact pages styling bundle
   - header/nav 색상 건드리지 않음
   - 본문 박스/가독성/모바일 포함
   - footer 관련 스타일은 제외
   ============================== */

/* Pages:
   - Privacy Policy: page-id-3
   - Terms: page-id-3489
   - Disclaimer: page-id-3474
   - Contact: page-id-3492
*/

/* background */
body.page-id-3,
body.page-id-3489,
body.page-id-3474,
body.page-id-3492{
  background: #f6f7fb !important;
}

/* outer wrappers transparent so only content box stands out */
body.page-id-3 .wp-site-blocks,
body.page-id-3 #page,
body.page-id-3 .site,
body.page-id-3489 .wp-site-blocks,
body.page-id-3489 #page,
body.page-id-3489 .site,
body.page-id-3474 .wp-site-blocks,
body.page-id-3474 #page,
body.page-id-3474 .site,
body.page-id-3492 .wp-site-blocks,
body.page-id-3492 #page,
body.page-id-3492 .site{
  background: transparent !important;
}

/* content box */
body.page-id-3 .wp-block-post-content,
body.page-id-3 .entry-content,
body.page-id-3 main,
body.page-id-3489 .wp-block-post-content,
body.page-id-3489 .entry-content,
body.page-id-3489 main,
body.page-id-3474 .wp-block-post-content,
body.page-id-3474 .entry-content,
body.page-id-3474 main,
body.page-id-3492 .wp-block-post-content,
body.page-id-3492 .entry-content,
body.page-id-3492 main{
  max-width: 920px !important;
  margin: 32px auto !important;
  padding: 28px !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.05) !important;
  box-sizing: border-box !important;
}

/* readability */
body.page-id-3 p,
body.page-id-3 li,
body.page-id-3489 p,
body.page-id-3489 li,
body.page-id-3474 p,
body.page-id-3474 li,
body.page-id-3492 p,
body.page-id-3492 li{
  line-height: 1.75 !important;
  color: #0f172a !important;
}
body.page-id-3 h1,
body.page-id-3 h2,
body.page-id-3 h3,
body.page-id-3489 h1,
body.page-id-3489 h2,
body.page-id-3489 h3,
body.page-id-3474 h1,
body.page-id-3474 h2,
body.page-id-3474 h3,
body.page-id-3492 h1,
body.page-id-3492 h2,
body.page-id-3492 h3{
  color: #0b1220 !important;
}

/* links: ONLY inside content (prevents header/nav turning blue) */
body.page-id-3 .wp-block-post-content a,
body.page-id-3 .entry-content a,
body.page-id-3489 .wp-block-post-content a,
body.page-id-3489 .entry-content a,
body.page-id-3474 .wp-block-post-content a,
body.page-id-3474 .entry-content a,
body.page-id-3492 .wp-block-post-content a,
body.page-id-3492 .entry-content a{
  color: #2563eb !important;
}

/* mobile tuning */
@media (max-width: 640px){
  body.page-id-3 .wp-block-post-content,
  body.page-id-3 .entry-content,
  body.page-id-3 main,
  body.page-id-3489 .wp-block-post-content,
  body.page-id-3489 .entry-content,
  body.page-id-3489 main,
  body.page-id-3474 .wp-block-post-content,
  body.page-id-3474 .entry-content,
  body.page-id-3474 main,
  body.page-id-3492 .wp-block-post-content,
  body.page-id-3492 .entry-content,
  body.page-id-3492 main{
    margin: 16px 12px !important;
    padding: 18px !important;
    border-radius: 12px !important;
  }
}

/* DiviTracker weekly post - minimal responsive safety */
.dt-weekly .dt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dt-weekly table.dt-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.dt-weekly table.dt-table th,
.dt-weekly table.dt-table td { padding: 10px 8px; vertical-align: top; }
.dt-weekly .dt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dt-weekly .dt-card { border: 1px solid rgba(0,0,0,0.08); border-radius: 14px; padding: 12px; }
.dt-weekly .dt-card-head { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.dt-weekly .dt-card-metrics { display:grid; gap:6px; margin-top:10px; }
.dt-weekly .dt-k { opacity: .65; margin-right: 6px; }
.dt-weekly .dt-muted { opacity: .75; }

@media (max-width: 860px) {
  .dt-weekly .dt-cards { grid-template-columns: 1fr; }
  .dt-weekly table.dt-table { min-width: 640px; }
}