/* [FLP4/c17-core] 原 custom.css 89394-96858 · 全站加载 */
/* ===== v3.5 - 手机端页脚紧凑修复 ===== */
@media (max-width: 768px) {
  .florint-footer-inner {
    padding: 1.5rem 1rem 1rem !important;
  }
  .florint-footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
    margin-bottom: 1rem !important;
  }
  .florint-footer-col {
    min-width: unset !important;
    text-align: center !important;
  }
  .florint-footer-col h4 {
    font-size: 0.9rem !important;
    margin-bottom: 0.4rem !important;
  }
  .florint-footer-col a {
    font-size: 0.8rem !important;
    padding: 0.15rem 0 !important;
  }
  .florint-footer-brand h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.3rem !important;
  }
  .florint-footer-tagline {
    font-size: 0.75rem !important;
    margin-bottom: 0.4rem !important;
  }
  .florint-footer-desc {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
  }
  .florint-footer-quote {
    padding: 0.8rem 0 !important;
    margin-bottom: 0.8rem !important;
  }
  .florint-footer-quote em {
    font-size: 0.8rem !important;
  }
  .florint-footer-bottom {
    font-size: 0.72rem !important;
  }
  .florint-footer-bottom p {
    margin-bottom: 0.2rem !important;
  }
}

/* ===== v3.6 - 手机端页脚网站地图双列布局 ===== */
@media (max-width: 768px) {
  .florint-footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem 1rem !important;
  }
  .florint-footer-brand {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    margin-bottom: 0.3rem;
  }
  .florint-footer-col:last-child {
    grid-column: 1 / -1 !important;
    text-align: center !important;
  }
}

/* ===== 全站标题统一使用思源宋体 (v1.9+) ===== */
h1, h2, h3, h4, h5, h6,
.entry-title, .entry-title a,
.site-title, .site-title a,
.widget-title,
.ast-archive-title,
h1, .entry-content :where(h1),
h2, .entry-content :where(h2),
h3, .entry-content :where(h3),
h4, .entry-content :where(h4),
h5, .entry-content :where(h5),
h6, .entry-content :where(h6),
.ast-post-title,
.archive-title,
.page-title,
.florint-footer-custom h3,
.florint-footer-custom h4,
.section-title,
.section-tag,
.whisper-title,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif !important;
}

/* ===== 从chpx.net迁入文章排版样式 v4.0 ===== */
.florint-article-custom { max-width: 780px; margin: 0 auto; }
.florint-article-lead { background: linear-gradient(135deg, #faf8f5 0%, #f5f0e8 100%); border-left: 4px solid #C4A265; padding: 1.5em 2em; margin: 2em 0; border-radius: 0 8px 8px 0; }
.florint-article-lead p { margin: 0.5em 0; color: #5C4A32; font-size: 1.05em; line-height: 1.8; }
.florint-article-custom h2 { font-family: Noto Serif SC, serif; color: #4A3728; border-bottom: 2px solid #E8DCC8; padding-bottom: 0.5em; margin: 2em 0 1em; }
.florint-article-custom blockquote { background: #FDFBF7; border-left: 3px solid #C4A265; margin: 1.5em 0; padding: 1.2em 1.5em; }
.florint-article-custom blockquote p { margin: 0.4em 0; color: #6B5744; }

/* 名师卡片 */
.florint-teacher-card { background: #FEFCF9; border: 1px solid #E8DCC8; border-radius: 12px; padding: 1.5em 2em; margin: 1.5em 0; transition: box-shadow 0.3s; }
.florint-teacher-card:hover { box-shadow: 0 4px 20px rgba(139,115,85,0.1); }
.florint-teacher-card h2 { border-bottom: none; margin: 0 0 0.8em; font-size: 1.3em; }
.florint-teacher-card p { margin: 0.4em 0; line-height: 1.7; }
.florint-teacher-card ul { padding-left: 1.5em; }
.florint-teacher-card li { margin: 0.3em 0; }

/* 课程模块卡片 */
.florint-module { background: #FDFBF7; border: 1px solid #E8DCC8; border-radius: 8px; padding: 1em 1.5em; margin: 0.8em 0; }
.florint-module h3 { font-size: 1.1em; color: #8B7355; margin: 0 0 0.3em; }
.florint-module p { margin: 0; color: #5C4A32; font-size: 0.95em; }

/* 高亮提示框 */
.florint-highlight-box { background: linear-gradient(135deg, #F8F0E3 0%, #EDE4D3 100%); border: 2px solid #C4A265; border-radius: 12px; padding: 1.5em 2em; margin: 2em 0; text-align: center; }
.florint-highlight-box p { margin: 0; font-size: 1.05em; color: #5C4A32; }

/* 信息表格 */
.florint-info-table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.florint-info-table td { padding: 0.8em 1em; border: 1px solid #E8DCC8; vertical-align: top; }
.florint-info-table tr:nth-child(odd) { background: #FDFBF7; }
.florint-info-table tr:nth-child(even) { background: #F8F4ED; }
.florint-info-table td:first-child { font-weight: 600; color: #8B7355; width: 30%; white-space: nowrap; }

/* AI客服菜单项 - 移除错误的高亮状态 */
#menu-item-248 > a {
    color: var(--hj-ink) !important;
}
#menu-item-248.current-menu-item > a,
#menu-item-248.current_page_item > a {
    color: var(--hj-ink) !important;
}
#menu-item-248.current-menu-item > a:hover,
#menu-item-248.current_page_item > a:hover {
    color: var(--hj-zhusha) !important;
}


/* ===== 商城页标题：思源宋体加大 ===== */
h1.woocommerce-products-header__title.page-title {
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif !important;
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    color: var(--hj-ink) !important;
}
@media (max-width: 768px) {
    h1.woocommerce-products-header__title.page-title {
        font-size: 1.6rem !important;
        letter-spacing: 0.12em !important;
    }
}





@media (max-width: 768px) {
    .gt_float_switcher {
        top: 60px !important;
        right: 10px !important;
    }
}
