/*
Theme Name: NKS
Theme URI: https://nks.com
Author: NKS Team
Author URI: https://nks.com
Description: NKS - 专业企业官网WordPress主题，支持首页自定义、咨询表单、多语言（中英日繁）、一键换色、全站SEO、多分类模板、百度收录、扁平化设计、多设备支持、侧栏随动、列表无限加载。适用于企业网站、垂直站、行业站等。
Version: 1.2.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nks
Domain Path: /languages
Tags: enterprise, business, corporate, flat, responsive, seo, multilingual, one-click-color, infinite-scroll, sticky-sidebar, custom-colors, custom-menu, custom-logo, featured-images, translation-ready, full-site-editing
*/

/* ==========================================================================
   NKS Theme - Main Stylesheet
   完整样式见 assets/css/main.css
   ========================================================================== */

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--nks-text, #333);
    background: var(--nks-bg, #fff);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--nks-primary, #2563eb);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--nks-primary-dark, #1d4ed8);
}

img {
    max-width: 100%;
    height: auto;
}

.nks-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    word-wrap: normal !important;
}

/* Alignments */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Clearfix */
.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}
.clearfix::after {
    clear: both;
}
