/* 东方文化研究 —— 手机端适配 v2（仅本刊加载，桌面样式不受影响） */
@media (max-width: 900px) {
  /* DEBUG */
  body { outline: 10px solid red !important; }
  html, body { -webkit-text-size-adjust: 100%; max-width: 100%; overflow-x: hidden; }

  /* 页头：logo 与导航上下排 */
  .header {
    height: auto !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px 12px 4px;
    gap: 4px;
  }
  .header-logo { height: auto !important; margin-right: 0 !important; }
  .header-logo > img { height: 34px !important; }
  .header-logo .jt-dfwhyj { font-size: 20px !important; line-height: 26px !important; }
  .header-title-box { display: flex !important; flex-wrap: wrap; width: 100%; }
  .header-title {
    height: auto !important;
    line-height: 34px !important;
    padding: 0 10px 0 0 !important;
    font-size: 15px !important;
  }

  .banner > img { width: 100% !important; height: auto !important; }

  /* 三栏容器：整体改为块级流，DOM 顺序自然堆叠 */
  .container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 12px !important;
    box-sizing: border-box;
  }
  .container .flex-center,
  .container .area {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .container .area-box {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 14px 0 !important;
    box-sizing: border-box;
  }
  .area-box-title,
  .area-box-title-border { width: 100% !important; }
  .container .flex-v { display: flex !important; align-items: center; }

  /* 封面卡 */
  .cover-box { width: auto !important; max-width: 240px; margin: 0 auto 12px !important; }
  .cover-box > img { width: 100% !important; height: auto !important; }

  /* 文章页 */
  .paper-wrap, .paper-main, .paper-side {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px 0 !important;
  }

  /* 表格、长链接、正文不撑破 */
  table { width: 100% !important; table-layout: fixed; }
  td, th { word-break: break-word; }
  .content-html, .content-html * { max-width: 100% !important; box-sizing: border-box; }
  .content-html p { text-align: justify; }
  .content-html img { height: auto !important; }
  img { max-width: 100%; }
}
