/* Inter 700 vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/local-fonts/s80-Inter-700-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* Inter 700 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/local-fonts/s80-Inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 700 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/local-fonts/s80-Inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Plus Jakarta Sans 700 vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/local-fonts/s80-Plus-Jakarta-Sans-700-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* Plus Jakarta Sans 700 latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/local-fonts/s80-Plus-Jakarta-Sans-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Plus Jakarta Sans 700 latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/local-fonts/s80-Plus-Jakarta-Sans-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root{
  --s80-sans:'Inter','PingFang SC','HarmonyOS Sans SC','Microsoft YaHei UI','Microsoft YaHei','Source Han Sans SC','Noto Sans SC','Noto Sans CJK SC','WenQuanYi Micro Hei',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --s80-head:'Plus Jakarta Sans','PingFang SC','HarmonyOS Sans SC','Microsoft YaHei UI','Microsoft YaHei','Source Han Sans SC','Noto Sans SC','Noto Sans CJK SC','WenQuanYi Micro Hei',system-ui,-apple-system,'Segoe UI','Helvetica Neue',Arial,sans-serif;
}

/* ---------- 1. 正文族统一（拉丁在前 → 中文落到系统中文字体） ---------- */
body,
.entry-content,
.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th,
.entry-content blockquote,
.entry-content figcaption,
.comment-content,
.comment-body,
.comment-author .fn,
.ast-article-single,
.ast-blog-single .entry-content,
.site-description,
.site-footer,
.widget,
.ast-search-form,
.breadcrumb,
.post-navigation,
.nav-links,
.wp-block-paragraph,
.wp-block-list,
.wp-block-quote,
.wp-block-table,
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-image figcaption{
  font-family: var(--s80-sans) !important;
}

/* 代码/等宽保持等宽 */
pre, code, kbd, samp, tt, .wp-block-code, .wp-block-pretoken{
  font-family: 'SFMono-Regular',Consolas,'Liberation Mono',Menlo,monospace !important;
}

/* ---------- 2. 标题族统一（字重 600，与本地已加载字重一致，避免假粗体） ---------- */
h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title,
.ast-site-title,
.custom-logo-title,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor h1,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.elementor-widget-text-editor h4,
.elementor-widget-text-editor h5,
.elementor-widget-text-editor h6,
.wp-block-heading,
.comment-title,
.ast-search-form .search-title{
  font-family: var(--s80-head) !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  word-break: break-word;
}
h1, h2, h3, h4, h5, h6{ line-height: 1.45; }
body.single h1,body.single h2,body.single h3{ line-height: 1.45 !important; }

/* ---------- 3. 尺度：中文标题更紧凑的字号 + 更松的字距 ---------- */
.ast-article-single .entry-title,
.single-post .entry-title,
.ast-article-single h1{
  font-size: 34px !important;
  line-height: 1.38 !important;
  letter-spacing: .01em !important;
}
/* 尺寸只管博客正文页（body.single = 文章，body.page = 页面/Elementor 不受干扰） */
body.single h2{ font-size: 24px !important; }
body.single h3{ font-size: 20px !important; }
body.single h4{ font-size: 18px !important; }
body.single h5{ font-size: 16px !important; }
body.single h6{ font-size: 15px !important; }

/* ---------- 4. 正文阅读体验：中文行距要更松 ---------- */
.entry-content p,
.comment-content p{
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .012em;
  color: #333a45;
}
.entry-content p{ margin-bottom: 1.05em; }
.entry-content li{ line-height: 1.85; letter-spacing: .012em; }
.entry-content ul, .entry-content ol{ margin-bottom: 1.4em; }
.entry-content blockquote{
  font-size: 16.5px;
  line-height: 1.8;
  letter-spacing: .01em;
}
.entry-content table{ font-size: 15.5px; line-height: 1.7; }
.entry-content table th{ letter-spacing: .02em; }

/* ---------- 5. 导航 ---------- */
.main-navigation-menu li a,
.site-navigation .menu-link,
.main-navigation-bar .menu-item > a,
.ast-mobile-menu a,
.menu-toggle{
  font-family: var(--s80-sans) !important;
  letter-spacing: .045em;
}
.main-navigation-menu li a,
.site-navigation .menu-link,
.main-navigation-bar .menu-item > a{
  font-size: 15px !important;
  font-weight: 600 !important;
}
.main-navigation-menu .sub-menu a,
.main-navigation-menu li .sub-menu a{
  font-size: 14px !important;
  letter-spacing: .04em;
}
/* 站点标题（logo 文字） */
.site-title,
.ast-site-title,
.custom-logo-title{
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: .06em !important;
  line-height: 1.25 !important;
}
.site-description{
  font-size: 13px !important;
  letter-spacing: .12em !important;
  font-weight: 400 !important;
}

/* ---------- 6. 卡片标题行高 ---------- */
.entry-content h3,
.ast-article-single .wp-block-heading h3{
  line-height: 1.55 !important;
}

/* ---------- 7. 移动端 ---------- */
@media (max-width: 768px){
  .ast-article-single .entry-title,
  .single-post .entry-title,
  .ast-article-single h1{ font-size: 26px !important; line-height: 1.45 !important; }
  body.single h2{ font-size: 21px !important; }
  body.single h3{ font-size: 18.5px !important; }
  .entry-content p{ font-size: 16.5px; line-height: 1.8; }
  .main-navigation-menu li a,
  .site-navigation .menu-link,
  .main-navigation-bar .menu-item > a{ font-size: 14.5px !important; }
  .site-title, .ast-site-title{ font-size: 19px !important; letter-spacing: .05em !important; }
}


/* ============================================================
   科技感精修 v1.3
   ============================================================ */

/* --- 渲染基线：更锐利、更有工程感 --- */
body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* --- 真 700 字重已由上方 @font-face 提供（本地 woff2，非合成粗体） --- */
h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title,
.ast-site-title,
.custom-logo-title,
.elementor-widget-heading .elementor-heading-title,
.wp-block-heading{
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "cv01" 1;
}

/* --- 大标题：冷调墨黑 + 极紧字距（科技风的关键一笔） --- */
.ast-article-single .entry-title,
.single-post .entry-title,
.ast-article-single h1{
  letter-spacing: -.005em !important;
  color: #0d1117;
}
h2, h3, h4{
  letter-spacing: .005em !important;
  color: #11161d;
}
h2{ line-height: 1.4 !important; }
h3{ line-height: 1.45 !important; }

/* --- 站点标题：更硬的字重 + 科技感字距 --- */
.site-title, .ast-site-title, .custom-logo-title{
  font-weight: 700 !important;
  letter-spacing: .05em !important;
  color: #0d1117;
}

/* --- 导航：字重上去 + 悬停橙色指示线（与站点橙一致） --- */
.main-navigation-menu li a,
.site-navigation .menu-link{
  font-weight: 700 !important;
  color: #1b2029;
  transition: color .2s ease, letter-spacing .2s ease;
}
.main-navigation-menu li a:hover,
.site-navigation .menu-link:hover,
.main-navigation-menu li.current-menu-item > a,
.main-navigation-menu li.current_page_item > a{
  color: #ea8c1f !important;
}
.main-navigation-menu > li {
  position: relative;
}
.main-navigation-menu > li > a,
.main-navigation-menu > li > a:hover{
  position: relative;
}
.main-navigation-menu > li > a::after{
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.main-navigation-menu > li > a:hover::after,
.main-navigation-menu > li.current-menu-item > a::after,
.main-navigation-menu > li.current_page_item > a::after{
  transform: scaleX(1);
}

/* --- 元信息 / 日期 / 分类：等宽字体（工程感细节） --- */
.entry-meta,
.ast-article-single .entry-meta,
.ast-meta-info,
.post-meta,
.posted-on,
.entry-footer .meta,
.ast-article-single .ast-entry-meta,
.entry-content .ast-meta-info,
.categories-links,
.tags-links{
  font-family: 'SFMono-Regular',Consolas,'Liberation Mono',Menlo,monospace !important;
  font-size: 13px !important;
  letter-spacing: .02em !important;
  font-variant-numeric: tabular-nums;
}

/* --- 正文数字用等宽对齐（表格/列表里的数字不跳动） --- */
.entry-content table,
.entry-content td,
.entry-content th{
  font-variant-numeric: tabular-nums;
}

/* --- 链接下划线：平时隐约，悬停才实（干净、克制） --- */
.entry-content a,
.comment-content a{
  text-decoration-color: rgba(13,17,23,.18);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease, color .2s ease;
}
.entry-content a:hover,
.comment-content a:hover{
  text-decoration-color: currentColor;
}

/* ============================================================
   首页 hero 文字组上抬（标题 + 副标题 + 按钮一起）
   目标：让「AI 时代的实测派」落在机器人腰部中位
   参照：背景图 2560x1705，hero 容器 1120x760，background:cover 50% 50%
        → 像素实测机器人腰带在原始图 y≈1015 → 容器内 y≈452
        → 标题原中心 y≈464（横跨腰带）→ 上抬 14px 使标题中心正落在腰带
   ============================================================ */
@media (min-width: 1025px){
  .elementor-element-7edbd4b6 > .elementor-element-67ce1cc7,
  .elementor-element-7edbd4b6 > .elementor-element-2251d298,
  .elementor-element-7edbd4b6 > .elementor-element-105c5ce{
    transform: translateY(-14px);
    will-change: transform;
  }
}
@media (min-width: 768px) and (max-width: 1024px){
  .elementor-element-7edbd4b6 > .elementor-element-67ce1cc7,
  .elementor-element-7edbd4b6 > .elementor-element-2251d298,
  .elementor-element-7edbd4b6 > .elementor-element-105c5ce{
    transform: translateY(-10px);
  }
}


/* ============================================================
   首页 hero 标题放大 + 加边框（小帅 22:24 指令）
   元素：.elementor-element-67ce1cc7「AI 时代的实测派」
   主标题「每一篇，都 SEEK 到 80 分」已真删（Elementor 节点 2251d298）
   ============================================================ */
.elementor-element-7edbd4b6 .elementor-element-67ce1cc7 .elementor-heading-title{
  display: inline-block;
  font-family: var(--s80-head) !important;
  font-weight: 800 !important;
  font-size: 54px !important;
  line-height: 1.25 !important;
  letter-spacing: .04em !important;
  color: #1F1F1F !important;
  border: 2px solid #1F1F1F;
  border-radius: 8px;
  padding: 12px 30px 14px;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(2px);
  text-shadow: none !important;
}
@media (max-width: 1024px){
  .elementor-element-7edbd4b6 .elementor-element-67ce1cc7 .elementor-heading-title{
    font-size: 34px !important;
    padding: 10px 20px 12px;
    letter-spacing: .03em !important;
  }
}
@media (max-width: 560px){
  .elementor-element-7edbd4b6 .elementor-element-67ce1cc7 .elementor-heading-title{
    font-size: 26px !important;
    padding: 8px 14px 10px;
  }
}

/* ============================================================
   首页四大支柱卡片：AI 配图 + 悬浮效果（2026-11-29 23:0x 小帅指令）
   元素：卡片容器 729c59f6 / 5b0fa3ad / 73bd23bf / 2e8072f3
        文本 widget 494c2053 / 6fefbf6a / 55c454c7 / 4e0a99ed
   做法：只加 CSS，不改 Elementor 数据 → 零回滚风险
   ============================================================ */

/* --- 配图：顶部通栏，圆角与卡片内沿一致 --- */
body .elementor-25 .elementor-element-729c59f6 img.s80-card-img,
body .elementor-25 .elementor-element-5b0fa3ad img.s80-card-img,
body .elementor-25 .elementor-element-73bd23bf img.s80-card-img,
body .elementor-25 .elementor-element-2e8072f3 img.s80-card-img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 0 16px;
  background: #F6F8FC;
  transition: transform .45s cubic-bezier(.22,.7,.3,1), filter .45s ease;
}

/* --- 悬浮：卡片抬起 + 阴影加深 + 边框变橙 --- */
body .elementor-25 .elementor-element-729c59f6,
body .elementor-25 .elementor-element-5b0fa3ad,
body .elementor-25 .elementor-element-73bd23bf,
body .elementor-25 .elementor-element-2e8072f3{
  position: relative;
  transition: transform .35s cubic-bezier(.22,.7,.3,1),
              box-shadow .35s ease,
              border-color .35s ease,
              background-color .35s ease;
  will-change: transform;
}
body .elementor-25 .elementor-element-729c59f6:hover,
body .elementor-25 .elementor-element-5b0fa3ad:hover,
body .elementor-25 .elementor-element-73bd23bf:hover,
body .elementor-25 .elementor-element-2e8072f3:hover{
  transform: translateY(-8px) !important;
  border-color: #F5A623 !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 18px 40px rgba(14,21,38,.14), 0 4px 12px rgba(245,166,35,.12) !important;
}

/* --- 悬浮时图片轻微放大 --- */
body .elementor-25 .elementor-element-729c59f6:hover img.s80-card-img,
body .elementor-25 .elementor-element-5b0fa3ad:hover img.s80-card-img,
body .elementor-25 .elementor-element-73bd23bf:hover img.s80-card-img,
body .elementor-25 .elementor-element-2e8072f3:hover img.s80-card-img{
  transform: scale(1.05) !important;
  filter: saturate(1.06);
}

/* --- 标题/正文在悬浮时轻微上移一点，动效更有层次 --- */
body .elementor-25 .elementor-element-729c59f6 .elementor-widget-container,
body .elementor-25 .elementor-element-5b0fa3ad .elementor-widget-container,
body .elementor-25 .elementor-element-73bd23bf .elementor-widget-container,
body .elementor-25 .elementor-element-2e8072f3 .elementor-widget-container{
  transition: transform .35s cubic-bezier(.22,.7,.3,1);
}
body .elementor-25 .elementor-element-729c59f6:hover .elementor-widget-container,
body .elementor-25 .elementor-element-5b0fa3ad:hover .elementor-widget-container,
body .elementor-25 .elementor-element-73bd23bf:hover .elementor-widget-container,
body .elementor-25 .elementor-element-2e8072f3:hover .elementor-widget-container{
  transform: translateY(-2px) !important;
}

/* --- 「去看看」按钮：悬浮时变深橙 --- */
body .elementor-25 .elementor-element-729c59f6 a[href]:hover,
body .elementor-25 .elementor-element-5b0fa3ad a[href]:hover,
body .elementor-25 .elementor-element-73bd23bf a[href]:hover,
body .elementor-25 .elementor-element-2e8072f3 a[href]:hover{
  background: #B45309 !important;
  color: #FFFFFF !important;
  transition: background-color .3s ease, color .3s ease;
}

/* --- 移动端：不做抬升（触屏无 hover），只保留边框色提示 --- */
@media (max-width: 1024px){
  body .elementor-25 .elementor-element-729c59f6:hover,
  body .elementor-25 .elementor-element-5b0fa3ad:hover,
  body .elementor-25 .elementor-element-73bd23bf:hover,
  body .elementor-25 .elementor-element-2e8072f3:hover{
    transform: none !important;
    box-shadow: 0 6px 18px rgba(14,21,38,.06) !important;
  }
}
