/**
Theme Name: oacms
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oacms
Template: astra
*/


/*自定义样式*/


.ast-theme-transparent-header #masthead{
	/*position: fixed;*/
}
/*二级下拉菜单*/
.ast-desktop .astra-menu-animation-fade>.menu-item>.sub-menu {
    display: flex;
    width: 580px;
    flex-wrap: wrap;
    align-items: center;
    left: calc(100% - 290px);
    top: 118px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    border-width: 0;
}
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item .sub-menu .menu-item .menu-link{
	color: #333;
}

.ast-theme-transparent-header .ast-main-header-wrap .ast-social-color-type-custom .ast-builder-social-element svg{
	/*fill:#333 !important;*/
}

/*滚动*/
/* .site-header .scroll-fixed {
    transition: background .5s;
    background: #fff;
    backdrop-filter: none;
    box-shadow: 0 4px 15px rgb(0 0 0 / 8%);
} */

#ast-desktop-header .ast-main-header-wrap{
width:100%!important; position:fixed; left:0; top:0; height:120px;  padding:0 60px; z-index:10; transition:all 0.5s ease-in-out; z-index:20
}
/*电脑端导航固定定位需占据的文档流*/
.ast-desktop #content{
	/*margin-top:120px;*/
}

#ast-desktop-header .ast-main-header-wrap:hover,#ast-desktop-header .ast-main-header-wrap.hover{ background:#fff; box-shadow:0 3px 8px rgba(0,0,0,0.08); height:110px; }

#ast-desktop-header .ast-main-header-wrap:hover .main-header-menu .menu-link{color:#333 !important;}

/*右边的图标内容*/
/*#ast-desktop-header .ast-main-header-wrap:hover .site-header-focus-item .ast-phone{color:#333 !important;}*/


#ast-desktop-header .scroll-fixed{ background:#fff; height:110px; box-shadow:0 3px 8px rgba(0,0,0,0.08);}

/*.ast-theme-transparent-header .ast-builder-menu .main-header-menu, .ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-link, .ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .menu-item > .menu-link*/
.ast-theme-transparent-header .scroll-fixed .main-header-menu .menu-link{
	color:#333 !important;
}


.ast-theme-transparent-header .scroll-fixed .ast-header-social-wrap .ast-social-color-type-custom .ast-builder-social-element svg{
	fill:#333 !important;
}

.ast-theme-transparent-header .scroll-fixed .ast-header-social-wrap .ast-social-color-type-custom .ast-builder-social-element .social-item-label{
	color:#333 !important;
}

.ast-theme-transparent-header .scroll-fixed .ast-header-social-wrap .ast-social-color-type-custom .ast-builder-social-element .social-item-label:hover{
	color:#0766ff !important;
}

/*右边图标*/
#ast-desktop-header .ast-main-header-wrap:hover .ast-social-color-type-custom .ast-builder-social-element svg{
	fill:#333 !important;
}
#ast-desktop-header .ast-main-header-wrap:hover .ast-social-color-type-custom .ast-builder-social-element .social-item-label{
	color:#333 !important;
}

#ast-desktop-header .ast-main-header-wrap .ast-social-color-type-custom .ast-builder-social-element:hover svg{
	fill:#0766ff !important;
}
#ast-desktop-header .ast-main-header-wrap .ast-social-color-type-custom .ast-builder-social-element:hover .social-item-label{
	color:#0766ff !important;
}




/*选中颜色*/
#ast-desktop-header .ast-main-header-wrap .main-header-menu .current-menu-item > .menu-link{
	color:#0766ff !important;
}

/*文字、图标移上颜色*/
#ast-desktop-header .ast-main-header-wrap .main-header-menu .menu-link:hover{
	color:#0766ff !important;
}
#ast-desktop-header .ast-main-header-wrap .ast-header-social-wrap .ast-social-color-type-custom .ast-builder-social-element svg:hover{
	color:#0766ff !important;
}
/*下载页面 旧版本下载按钮样式*/
.wp-block-button.download-page-t2-imgbtn  .wp-block-button__link{
    border-color:#B7C1D4;
}


/*首页*/
.cnoa-home-download-border {position: relative;outline:1px solid #dedede;outline-offset: -1px;
	/*border-radius: 10px;*/
	overflow: hidden;

}

.cnoa-home-download-border:before,.cnoa-home-download-border:after {content: ''; display: block; width: 0; height: 0; position: absolute; z-index: 2;margin: 0px; visibility: hidden;pointer-events:none;}

.cnoa-home-download-border:hover:before,.cnoa-home-download-border:hover:after {visibility: visible;width: calc(100% - 2px); height: calc(100% - 2px);}
.cnoa-home-download-border:before { top: 0px; left: 1px; border-top:2px solid #0766ff; border-right: 2px solid #0766ff;  transition:visibility .1s linear .6s,height .1s linear .5s,width .1s linear .6s; }
.cnoa-home-download-border:hover:before { transition:visibility .1s linear 0s, width .1s linear 0s,height .1s linear .2s;}
.cnoa-home-download-border:after {border-left: 2px solid #0766ff; border-bottom: 2px solid #0766ff; right: 1px; bottom: 1px;transition:visibility .1s linear .3s,height .1s linear .2s,width .1s linear .3s;}
.cnoa-home-download-border:hover:after {transition:visibility .1s linear .3s, width .1s linear .3s,height .1s linear .4s;}
 

/*低代码页面 群组的边框为border-width在极速浏览器无效 */
.cnoa-low-code-border{	
	border: 1px solid #D0D7DF;
}




/*.site-header .scroll-fixed .ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-link{
	color:red;
}*/


/*************/
/*oa特定样式*/
/*************/
.cnoa-custom-justify-content-around{
	justify-content: space-around !important;  /* 均匀排列每个元素,每个元素周围分配相同的空间 */                  
}
.cnoa-custom-justify-content-evenly{
	justify-content: space-evenly !important;  /* 均匀排列每个元素,每个元素之间的间隔相等 */                  
}

/*下载页面 旧版下载栏目*/
.cnoa-custom-download-olddownload-toggle-btn{
	font-size:1.2rem;
	color: #b7c1d4;
	text-decoration: none !important;
}
.cnoa-custom-download-olddownload-wrap{
	display: none;
}

.cnoa-custom-link-content{text-align:center;}
.cnoa-custom-link-content a:hover{
	color:#0766ff !important;
	font-size:16px;
}
.cnoa_custom-margin-bottom-xs{
	margin-bottom: 10px !important;
}


/*友情链接*/
.cnoa-friendly-link{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 14px;
	color: #A2A2A3;
}
.cnoa-friendly-link span{
	margin:0 5px;
}
.cnoa-friendly-link a{
	color: #A2A2A3;
}
.cnoa-friendly-link a:hover{
	color:#0766ff;
}
.cnoa-friendly-link span:first-child{
	margin:0;
}

.oa-home-banner-map{
	position: absolute;
	right: 22%;
	bottom: 124px;
}
.oa-home-banner-usebtn{
	position: absolute;
	left: 20%;
	bottom: 74px;
}


/* =AI软文模板样式 - 适配Astra主题
-------------------------------------------------------------- */
.oacms-ai-marker {
	background-color: #f0f9ff; /* Astra浅色主题适配，深色主题可改为#1e293b */
	border-left: 4px solid #2563eb; /* Astra主色调（蓝色），可根据你的OACMS主题调整 */
	padding: 1rem 1.25rem;
	margin: 1.5rem 0;
	border-radius: 0 4px 4px 0;
}

.ai-badge {
	display: inline-block;
	background-color: #2563eb;
	color: white;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	margin-right: 0.5rem;
}

.ai-note {
	margin: 0.5rem 0 0;
	color: #475569; /* 次要文本色，适配Astra */
	font-size: 0.9375rem;
}

.oacms-ai-meta {
	background-color: #f8fafc;
	padding: 1.5rem;
	margin: 1.5rem 0;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

.ai-meta-title {
	font-size: 1.125rem;
	color: #1e293b;
	margin: 0 0 1rem;
	font-weight: 600; /* Astra标题权重 */
}

.ai-meta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}

.ai-meta-item {
	display: flex;
	flex-direction: column;
}

.meta-label {
	font-size: 0.875rem;
	color: #64748b;
	margin-bottom: 0.25rem;
	font-weight: 500;
}

.meta-value {
	font-size: 0.9375rem;
	color: #1e293b;
	font-weight: 500;
}

.ai-prompt-item {
	grid-column: 1 / -1; /* 提示词占满整行 */
}

.oacms-ai-content {
	margin: 1.5rem 0;
}

/* 适配Astra移动端布局 */
@media (max-width: 768px) {
	.ai-meta-grid {
		grid-template-columns: 1fr;
	}
}

/* 后台元数据字段样式适配 */
.oacms-ai-meta-fields p {
	margin-bottom: 1rem;
}

.oacms-ai-meta-fields small {
	color: #64748b;
	font-size: 0.8125rem;
}