/*
Theme Name: Yeeslo
Theme URI: https://yeeslo.com
Author: Yeeslo
Description: Yeeslo - 智能零售数字化解决方案企业主题
Version: 1.0.0
Text Domain: yeeslo
*/

:root {
  --color-primary: #0069D2; 
  --color-primary-dark: #0052CC;
  --color-primary-light: #3388FF;
  --color-dark: #1A1A2E;
  --color-dark-blue: #0D1B3E;
  --color-text: #101828;
  --color-text-light: #666666;
  --color-text-lighter: #999999;
  --color-bg: #FFFFFF;
  --color-bg-light: #F5F7FA;
  --color-border: #E8E8E8;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  /* --max-width: 1320px; */
  --max-width: min(86vw, 1600px);
  --header-height: 72px;
  --big-font-size: 52px;
  --mid-font-size: 44px;
  --mid-font-size-sub: 26px;
  --small-font-size: 20px;
}

@media (max-width: 768px) {
  :root {
    --max-width: 100vw;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 24px;
  transition: all 0.3s ease;
}
.cta-btn-txt{
  padding: 0 0 0 12px; /* 按钮 padding 4 + 12 = 设计稿左边距 16 */
}
.cta-btn-txt{
  padding: 0 5px 0 12px;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.cta-btn .jt-bg{
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px; /* 11 + 图标18 + 11 = 40，按钮总高 4+40+4 = 48 */
}
.cta-btn .dots-next-icon{
  width: 18px;
  height: 18px;
}
.cta-btn.white-bg{
   background: white;
   color: var(--color-primary);
}
.cta-btn.blue-bg{
  background: var(--color-primary);
  color: white;
}

.cta-btn.white-bg .jt-bg{
  background: var(--color-primary);
}
.cta-btn.blue-bg .jt-bg{
  background: white;
}

.cta-btn.white-bg .dots-next-icon{
  color: white;
}
.cta-btn.blue-bg .dots-next-icon{
  color: var(--color-primary);
}

.cta-btn .jt-bg .dots-next-icon.jt-down{
  transform: rotate(90deg);
}

/* 文章/页面内容里的表格 */
.single-content table,
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-size: 15px;
  line-height: 1.6;
}
.single-content table th,
.single-content table td,
.entry-content table th,
.entry-content table td {
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.single-content table thead th,
.entry-content table thead th {
  background: var(--color-bg-light);
  font-weight: 600;
  color: var(--color-text);
}
.single-content table tbody tr:nth-child(even) td,
.entry-content table tbody tr:nth-child(even) td {
  background: #F8FAFC;
}
.single-content table tbody tr:hover td,
.entry-content table tbody tr:hover td {
  background: #EEF5FF;
}
.single-content .wp-block-table,
.entry-content .wp-block-table {
  margin: 8px 0 24px;
  overflow-x: auto;
}
.single-content .wp-block-table table,
.entry-content .wp-block-table table {
  margin-bottom: 0;
}
.single-content,
.entry-content {
  overflow-x: auto;
}
@media (max-width: 768px) {
  .single-content table,
  .entry-content table {
    font-size: 14px;
  }
  .single-content table th,
  .single-content table td,
  .entry-content table th,
  .entry-content table td {
    padding: 8px 10px;
  }
  .cta-btn{font-size: 14px;}
  .cta-btn .jt-bg{
    padding: 8px;
  }
}