/* GeneratePress Site CSS */ .comments-area {
    max-width: 100px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-bottom: 100px;
} /* End GeneratePress Site CSS */

/* 页眉LOGO尺寸调整 */
.site-header .header-image {
    height: 80px;
    padding: 10px 0;
    width: auto;
}

/* 通用表格基础样式（文章内容里的 table）*/
.entry-content table,
.wp-block-table table {
  color: var(--contrast-2, #323F4B); /* 全局文字颜色 */
  border: 1px solid #e2e8f0;        /* 表格外框线 */
}

/* thead、tbody 中所有行的统一边线 */
.entry-content table thead tr,
.entry-content table tbody tr,
.wp-block-table table thead tr,
.wp-block-table table tbody tr {
  border: 1px solid #e2e8f0;
}

/* 单元格基础样式（包含 th 和 td） */
.entry-content table th,
.entry-content table td,
.wp-block-table table th,
.wp-block-table table td {
  padding: 10px 18px;
  border: 1px solid #e2e8f0;          /* 所有线框颜色 */
  color: var(--contrast-2, #323F4B);  /* 默认文字颜色 */
}

/* 表头：如果 table 有 thead，thead 里的 th */
.entry-content table thead th,
.wp-block-table table thead th,
/* 表头：如果 table 没有 thead，tbody 里的 th 也按表头处理 */
.entry-content table tbody th,
.wp-block-table table tbody th {
  background-color: var(--contrast, #1F2933); /* 深色背景 */
  color: var(--base-2, #ffffff);              /* 白色文字 */
  font-weight: 600;
}

/* 行背景色交替：tbody 里的 tr 交错颜色 */

/* 奇数行：#ffffff */
.entry-content table tbody tr:nth-child(odd),
.wp-block-table table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* 偶数行：#F5F7F8 */
.entry-content table tbody tr:nth-child(even),
.wp-block-table table tbody tr:nth-child(even) {
  background-color: #F5F7F8;
}


/* 表格、图片、视频嵌入尾部间隔 */
figure {
    margin-bottom: 1.5rem !important;
}