@charset "UTF-8"; /*!
/*
Theme Name: zhuiyi-theme
Theme URI: https://xu-long.com
Author: 徐龙
Author URI: https://xu-long.com
Description: 符合SEO、SEM、GEO的企业主题模板，使用 Tailwind CSS 和 Alpine.js 轻量级框架，提高网站速度。
Version: 1.0
*/

.has-submenu:hover > .sub-menu {display: block;}
  .post-content h1,.editor-visual-editor h1 {
    font-size: 2.25rem; /* Tailwind text-4xl */
    font-weight: 700;   /* font-bold */
    margin-top: 1.5rem; /* mt-6 */
    margin-bottom: 1.5rem; /* mb-6 */
    
  }

  .post-content h2,.editor-visual-editor h2 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 600;    /* font-semibold */
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .post-content h3,.editor-visual-editor h3 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .post-content h4,.editor-visual-editor h4 {
    font-size: 1.25rem; /* text-xl */
    font-weight: 500;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .post-content h5,.editor-visual-editor h5 {
    font-size: 1.125rem; /* text-lg */
    font-weight: 500;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .post-content h6,.editor-visual-editor h6 {
    font-size: 1rem; /* text-base */
    font-weight: 500;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .post-content ul,.editor-visual-editor ul {margin: 0.5rem 0;padding: 0 1.5rem 0;}

  .post-content ul li,.editor-visual-editor ul li {
    margin: 0.2rem 0;
    list-style-type: disc;
    text-indent:0.2rem;
  }
/* 响应式表格容器 */
.table-responsive{
  width: 100%;
  overflow-x: auto; /* 超宽表格横向滚动 */
  -webkit-overflow-scrolling: touch; /* iOS 平滑滚动 */
}

/* 表格基础样式 */
.table-responsive table{
  width: 100%;
  min-width: 600px; /* 最小宽度，保证列不挤在一起 */
  border-collapse: collapse;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin: 1rem 0;
}

/* 表头 */
.table-responsive table thead {
  background-color: #f3f4f6;
}

.table-responsive table th,.wp-block-table th {
  padding: 0.5rem 1rem;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  color: #374151;
  border: 1px solid #e5e7eb!important;
  white-space: nowrap; /* 防止列内容换行 */
}

/* 表格单元格 */
.table-responsive table td,.wp-block-table td {
  padding: 0.5rem 1rem;
  color: #111827;
  border: 1px solid #e5e7eb!important;
  white-space: nowrap;
}

/* 隔行条纹 */
.table-responsive table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

/* 鼠标悬停 */
.table-responsive table tbody tr:hover {
  background-color: #f3f4f6;
}

/* 可选：移动端滚动条美化 */
.table-responsive table-responsive::-webkit-scrollbar {
  height: 6px;
}
.table-responsive table-responsive::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.table-responsive table-responsive::-webkit-scrollbar-track {
  background: transparent;
}
