/*
Theme Name: 兆讯定制主题
Description: 基于Astra的自定义子主题，用于样式修改和功能扩展
Author: 澳美亚科技
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* 导入父主题样式 */
@import url("../astra/style.css");

/* 在这里添加你的自定义样式 */



/* 文章详情页背景图 */
.single-post .site-content {
    background-image: url('/wp-content/uploads/2025/09/1594115498118099.jpg');
    background-repeat: no-repeat;
}
.single-post .site-content #main{
    margin-top: 100px;
}
article{
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 确保文章内容区域有适当的背景和间距 */
.single-post .entry-content {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* 文章标题区域样式优化 */
.single-post .entry-header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* 示例：修改网站标题颜色 */
/*
.site-title a {
    color: #333;
}
*/

/* 示例：修改主要内容区域的背景色 */
/*
.site-content {
    background-color: #f9f9f9;
}
*/

.sub-menu{
	background: #0064b6ee !important;
    width: 250px !important;
    
}

.sub-menu .menu-link{
    font-size: 15px !important;
}

.sub-menu a:hover{
    color: #02325acc!important;
    background: #ffffffee !important;
}
#tablepress-1-no-19 td {
    vertical-align: middle;
}

#tablepress-1-no-19{
    font-size: 12px;
}

.wppsac-post-categories-list{
    display: none;
}

/* Simple Job Board 头部透明修复 - 针对职位详情页 */
body.single-jobpost .site-header,
body.sjb .site-header,
body.single-jobpost .ast-header-wrap,
body.sjb .ast-header-wrap {
    background-color: #ffffff !important;
    background: #ffffff !important;
    opacity: 1 !important;
}

/* 确保头部内容可见 */
body.single-jobpost .site-header .site-branding,
body.single-jobpost .site-header .main-header-menu,
body.single-jobpost .site-header .ast-site-identity,
body.sjb .site-header .site-branding,
body.sjb .site-header .main-header-menu,
body.sjb .site-header .ast-site-identity {
    opacity: 1 !important;
    color: #333333 !important;
}

/* 头部链接颜色修复 */
body.single-jobpost .site-header a,
body.sjb .site-header a {
    color: #333333 !important;
}

/* 头部导航菜单样式修复 */
body.single-jobpost .main-header-menu .menu-item > a,
body.sjb .main-header-menu .menu-item > a {
    color: #333333 !important;
}

/* 移动端头部修复 */
@media (max-width: 768px) {
    body.single-jobpost .ast-mobile-header-wrap,
    body.sjb .ast-mobile-header-wrap {
        background-color: #ffffff !important;
        background: #ffffff !important;
        opacity: 1 !important;
    }
    
    body.single-jobpost .ast-mobile-header-wrap .site-branding,
    body.single-jobpost .ast-mobile-header-wrap .ast-mobile-menu-buttons,
    body.sjb .ast-mobile-header-wrap .site-branding,
    body.sjb .ast-mobile-header-wrap .ast-mobile-menu-buttons {
        opacity: 1 !important;
    }
}

/* Simple Job Board 插件兼容性修复 - 针对 Windows 11 */
/* 修复 Windows 11 下的字体渲染和布局问题 */
.sjb-page {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 修复 Windows 11 下的 Flexbox 布局问题 */
.sjb-page .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.sjb-page .row:after {
    content: "";
    display: table;
    clear: both;
}

/* 修复 Windows 11 下的网格布局问题 */
.sjb-page .col-xs-1, .sjb-page .col-sm-1, .sjb-page .col-md-1, .sjb-page .col-lg-1,
.sjb-page .col-xs-2, .sjb-page .col-sm-2, .sjb-page .col-md-2, .sjb-page .col-lg-2,
.sjb-page .col-xs-3, .sjb-page .col-sm-3, .sjb-page .col-md-3, .sjb-page .col-lg-3,
.sjb-page .col-xs-4, .sjb-page .col-sm-4, .sjb-page .col-md-4, .sjb-page .col-lg-4,
.sjb-page .col-xs-5, .sjb-page .col-sm-5, .sjb-page .col-md-5, .sjb-page .col-lg-5,
.sjb-page .col-xs-6, .sjb-page .col-sm-6, .sjb-page .col-md-6, .sjb-page .col-lg-6,
.sjb-page .col-xs-7, .sjb-page .col-sm-7, .sjb-page .col-md-7, .sjb-page .col-lg-7,
.sjb-page .col-xs-8, .sjb-page .col-sm-8, .sjb-page .col-md-8, .sjb-page .col-lg-8,
.sjb-page .col-xs-9, .sjb-page .col-sm-9, .sjb-page .col-md-9, .sjb-page .col-lg-9,
.sjb-page .col-xs-10, .sjb-page .col-sm-10, .sjb-page .col-md-10, .sjb-page .col-lg-10,
.sjb-page .col-xs-11, .sjb-page .col-sm-11, .sjb-page .col-md-11, .sjb-page .col-lg-11,
.sjb-page .col-xs-12, .sjb-page .col-sm-12, .sjb-page .col-md-12, .sjb-page .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

/* 修复 Windows 11 下的按钮样式问题 */
.sjb-page .btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sjb-page .btn:focus,
.sjb-page .btn:active:focus,
.sjb-page .btn.active:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.sjb-page .btn:hover,
.sjb-page .btn:focus {
    color: #333;
    text-decoration: none;
}

/* 修复 Windows 11 下的表单元素样式 */
.sjb-page .form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    box-sizing: border-box;
}

.sjb-page .form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

/* 修复 Windows 11 下的工作列表卡片样式 */
.sjb-page .list-data .v2 {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    margin-bottom: 20px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    box-sizing: border-box;
}

.sjb-page .list-data .v2:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

/* 修复 Windows 11 下的响应式布局问题 */
@media (max-width: 767px) {
    .sjb-page .col-xs-12 {
        width: 100%;
        float: left;
    }
}

@media (min-width: 768px) {
    .sjb-page .col-sm-6 {
        width: 50%;
        float: left;
    }
    .sjb-page .col-sm-12 {
        width: 100%;
        float: left;
    }
}

@media (min-width: 992px) {
    .sjb-page .col-md-4 {
        width: 33.33333333%;
        float: left;
    }
    .sjb-page .col-md-6 {
        width: 50%;
        float: left;
    }
    .sjb-page .col-md-12 {
        width: 100%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .sjb-page .col-lg-3 {
        width: 25%;
        float: left;
    }
    .sjb-page .col-lg-4 {
        width: 33.33333333%;
        float: left;
    }
    .sjb-page .col-lg-6 {
        width: 50%;
        float: left;
    }
    .sjb-page .col-lg-12 {
        width: 100%;
        float: left;
    }
}

/* 修复 Windows 11 下的文本渲染问题 */
.sjb-page h1, .sjb-page h2, .sjb-page h3, .sjb-page h4, .sjb-page h5, .sjb-page h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
    text-rendering: optimizeLegibility;
}

.sjb-page p {
    margin: 0 0 10px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

/* 修复 Windows 11 下的图片显示问题 */
.sjb-page img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    border: 0;
}

/* 修复 Windows 11 下的链接样式 */
.sjb-page a {
    color: #337ab7;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.sjb-page a:hover,
.sjb-page a:focus {
    color: #23527c;
    text-decoration: underline;
}

/* 修复 Windows 11 下的表格样式 */
.sjb-page .table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    border-spacing: 0;
}

.sjb-page .table > thead > tr > th,
.sjb-page .table > tbody > tr > th,
.sjb-page .table > tfoot > tr > th,
.sjb-page .table > thead > tr > td,
.sjb-page .table > tbody > tr > td,
.sjb-page .table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}