/**
Theme Name: Astra
Theme URI: https://wpastra.com/
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Version: 4.12.7
Requires at least: 5.3
WC requires at least: 3.0
WC tested up to: 10.6.2
Tested up to: 6.9
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra
Domain Path: /languages
Tags: custom-menu, custom-logo, entertainment, one-column, two-columns, left-sidebar, e-commerce, right-sidebar, custom-colors, editor-style, featured-images, full-width-template, microformats, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready, blog
AMP: true

Astra WordPress Theme, Copyright 2020 WPAstra.
Astra is distributed under the terms of the GNU GPL.

Astra is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of.
Nicolas Gallagher and Jonathan Neal https://necolas.github.com/normalize.css/

Astra icon font is based on IcoMoon-Free vector icon by Keyamoon.
IcoMoon-Free vector icon distributed under terms of CC BY 4.0 or GPL. (https://creativecommons.org/licenses/by/4.0/ or https://www.gnu.org/licenses/gpl.html)
Source: http://keyamoon.com/

Flexibility is a JavaScript polyfill for Flexbox By Jonathan Neal, 10up. (https://github.com/jonathantneal/flexibility)
Licensed under MIT ( https://github.com/jonathantneal/flexibility/blob/master/LICENSE.md )

Screenshot image is a collage of actual sites created using the Astra WordPress Theme.

Icons used in the Screenshot image are all licensed under Creative Commons ( CC BY 4.0 ) License ( https://fontawesome.com/license/free )
https://fontawesome.com/v5.15/icons/store?style=solid
https://fontawesome.com/v5.15/icons/shopping-cart?style=solid
https://fontawesome.com/v5.15/icons/pen-square?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid

Illustrations used in the Screenshot images are all licensed under Creative Commons ( CC0 ) License ( https://gumroad.com/l/humaaans )
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/standing-24.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/sitting-2.png

Hand-drawn illustrations used are created by Brainstorm Force and released under Creative Commons ( CC0 ) License.
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/girl-with-image-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/boy-with-code-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/web-browser.png

The same site as screenshot can be imported from here https://websitedemos.net/web-design-agency-08/.

For more information, refer to this document on how to create a page like in the screenshot - https://wpastra.com/docs/replicating-the-screenshot/.

Astra default breadcrumb is based on Breadcrumb Trail by Justin Tadlock. (https://github.com/justintadlock/breadcrumb-trail)
Breadcrumb Trail is distributed under the terms of the GNU GPL v2 or later.

Astra local fonts feature is based on Webfonts Loader by WordPress Themes Team (WPTT). (https://github.com/WPTT/webfont-loader)
Licensed under MIT ( https://github.com/WPTT/webfont-loader/blob/master/LICENSE )

/* Note: The CSS files are loaded from assets/css/ folder. */



/* ========================================
   zhongjipaper.com 统一设计系统 v1.0
   修复: 字体混乱、颜色冲突、!important泛滥、间距不一致
   ======================================== */

/* ---- 1. 字体系统: 统一为 Inter ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* 字体栈 — 全站唯一 */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* 字号阶梯 — Major Third 1.25 */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  
  /* 行高 */
  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  
  /* 字重 */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
}

/* 全局字体覆盖 — 强制使用 Inter */
body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6,
.entry-content, .entry-title,
.ast-button, .wp-block-button__link,
.menu-item a, .site-title,
.widget, .widget-title,
p, span, div, li, a, label {
  font-family: var(--font-sans) !important;
}

/* ---- 2. 色彩系统: 统一品牌色 ---- */
:root {
  /* 品牌色 */
  --color-primary: #00875a;        /* 品牌绿 */
  --color-primary-dark: #006e48;   /* 深绿 */
  --color-primary-light: #e6f7ef;  /* 浅绿背景 */
  
  /* 深色 */
  --color-navy: #0a1628;           /* 海军蓝 — 替代纯黑 */
  --color-navy-light: #1a2744;     /* 浅海军蓝 */
  
  /* 中性色 — 基于 navy 色调 */
  --color-gray-50: #f8f9fb;
  --color-gray-100: #f1f3f5;
  --color-gray-200: #e2e5e9;
  --color-gray-300: #ced2d8;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #0a1628;
  
  /* 状态色 */
  --color-success: #059669;
  --color-warning: #d97706;
  --color-error: #dc2626;
  --color-info: #2563eb;
  
  /* 纯色 */
  --color-white: #ffffff;
  --color-black: #0a1628;
  
  /* Astra主题色覆盖 */
  --ast-global-color-0: #00875a;   /* 原红色改为品牌绿 */
  --ast-global-color-1: #ffffff;
  --ast-global-color-2: #0a1628;   /* 深色 */
  --ast-global-color-3: rgba(10, 22, 40, 0.75);
  --ast-global-color-4: #f8f9fb;   /* 背景色 */
  --ast-global-color-5: #ffffff;
  --ast-global-color-6: #0a1628;
  --ast-global-color-7: #0a1628;
  --ast-global-color-8: #f8f9fb;
}

/* ---- 3. 间距系统: 4px 基准 ---- */
:root {
  --space-1: 0.25rem;    /* 4px */
  --space-2: 0.5rem;     /* 8px */
  --space-3: 0.75rem;    /* 12px */
  --space-4: 1rem;       /* 16px */
  --space-5: 1.5rem;     /* 24px */
  --space-6: 2rem;       /* 32px */
  --space-8: 3rem;       /* 48px */
  --space-10: 4rem;      /* 64px */
  --space-12: 5rem;      /* 80px */
  --space-16: 8rem;      /* 128px */
  
  /* Section间距 */
  --section-padding: 5rem;   /* 80px */
  --section-gap: 3rem;       /* 48px */
  
  /* Astra容器间距覆盖 */
  --ast-container-default-xlg-padding: 3rem;
  --ast-container-default-lg-padding: 2.5rem;
  --ast-container-default-md-padding: 2rem;
  --ast-container-default-sm-padding: 1.5rem;
  --ast-container-default-xs-padding: 1rem;
  --ast-container-default-xxs-padding: 0.75rem;
}

/* ---- 4. 圆角系统 ---- */
:root {
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

/* ---- 5. 阴影系统 ---- */
:root {
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(10, 22, 40, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(10, 22, 40, 0.1);
}

/* ---- 6. 全局样式重置 ---- */

/* 标题样式 */
h1, .entry-content h1 {
  font-size: var(--text-5xl) !important;
  font-weight: var(--font-bold) !important;
  line-height: var(--leading-tight) !important;
  color: var(--color-navy) !important;
  letter-spacing: -0.025em;
  text-transform: none !important;
}

h2, .entry-content h2 {
  font-size: var(--text-4xl) !important;
  font-weight: var(--font-bold) !important;
  line-height: var(--leading-tight) !important;
  color: var(--color-navy) !important;
}

h3, .entry-content h3 {
  font-size: var(--text-2xl) !important;
  font-weight: var(--font-semibold) !important;
  line-height: var(--leading-snug) !important;
  color: var(--color-navy) !important;
}

h4, .entry-content h4 {
  font-size: var(--text-xl) !important;
  font-weight: var(--font-semibold) !important;
  color: var(--color-navy) !important;
}

/* 正文 */
p, .entry-content p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-gray-700);
}

/* 链接 */
a {
  color: var(--color-primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

/* 按钮 */
.ast-button, .wp-block-button__link, button {
  font-family: var(--font-sans) !important;
  font-weight: var(--font-semibold) !important;
  border-radius: var(--radius-md) !important;
  transition: all 0.2s ease !important;
}

/* 卡片 */
.ast-article-post, .ast-article-inner {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.ast-article-post:hover {
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-2px);
}

/* ---- 7. 响应式断点 ---- */
@media (max-width: 768px) {
  h1, .entry-content h1 {
    font-size: var(--text-3xl) !important;
  }
  
  h2, .entry-content h2 {
    font-size: var(--text-2xl) !important;
  }
  
  :root {
    --section-padding: 3rem;
  }
}

@media (max-width: 480px) {
  h1, .entry-content h1 {
    font-size: var(--text-2xl) !important;
  }
  
  h2, .entry-content h2 {
    font-size: var(--text-xl) !important;
  }
}

/* ---- 8. 修复已知问题 ---- */

/* 修复红色品牌色 */
.ast-header-button-1 .ast-custom-button,
.ast-button,
.wp-block-button__link {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.ast-header-button-1 .ast-custom-button:hover,
.ast-button:hover,
.wp-block-button__link:hover {
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
}

/* 修复选择高亮 */
::selection {
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
}

/* 修复表单焦点 */
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 135, 90, 0.15) !important;
}

/* 修复页脚 */
.site-footer, .site-below-footer-wrap, .site-primary-footer-wrap {
  background-color: var(--color-navy) !important;
}

/* 修复导航栏 */
.ast-primary-header-bar {
  background-color: var(--color-white) !important;
}
