/*by AYANG*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    min-width: 1200px;
    background-color: #f1f2f3;
}

input,botton {
    outline: none;
}
ol, ul, li {
    list-style: none;
}

a {
    text-decoration: none!important;
    transition: .3s;
    color: #525252;
}

i,em {
    font-style: normal;
}

ul,li {
    list-style: none;
    padding: 0;
    margin: 0;
}

p {
    padding: 0;
    margin: 0;
}

.icon {
    position: absolute;
    display: inline-block;
    transition:all .3s;
}

.header {
    width: 100%;
    height: 100px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
}

.header header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.header .left {
    width: 240px;
    height: 100px;
    display: flex;
    align-items: center;
}

.header .left a,
.header .left img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* 中间主导航（菜单项在 templates/pc/classic/_site-nav.php 的数组里维护） */
.header .center {
    flex: 1;
    min-width: 0;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header .nav li {
    height: 100px;
    display: flex;
    align-items: center;
}

.header .nav li a {
    display: block;
    height: 44px;
    padding: 0 22px;
    color: var(--ay-blue);
    font-size: 15px;
    font-weight: 600;
    line-height: 44px;
    white-space: nowrap;
    border-radius: 999px;
}

.header .nav li a:hover,
.header .nav li a.active {
    background-color: var(--bs-gray-200);
}

/* 右侧搜索框 */
.header .right {
    width: 300px;
    height: 100px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header .right .search-form {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
}

.header .right .search-form .search-focus {
    width: calc(100% - 55px);
    height: 40px;
    border: none;
    font-size: 16px;
    padding-left: 20px;
    background-color: var(--bs-gray-200);
}

.header .right .search-form .search-submit {
    width: 55px;
    height: 41px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s;
    background-color: var(--bs-gray-200);
}

.header .right .search-form .search-submit:hover {
    background-color: var(--bs-gray-300);
}

.header .right .search-form .search-submit .icon {
    -webkit-mask: url(../images/search.svg) no-repeat 50% 50%;
    mask: url(../images/search.svg) no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
    width: 20px;
    height: 20px;
    background: var(--ay-blue);
}

.crumbs {
    width: 100%;
}

.crumbs a {
    font-size: 14px;
    line-height: 14px;
    color: var(--bs-gray-600);
}

.crumbs a:not([href]) {
    color: var(--bs-gray-600);
}

.crumbs a:hover {
    color: var(--ay-blue);
}

.crumbs a .icon {
    position: relative;
    margin-top: -3px;
    margin-right: 3px;
}

.crumbs span {
    font-size: 14px;
    line-height: 14px;
    color: var(--bs-gray-600);
    margin-left: 5px;
}

.crumbs span .icon {
    position: relative;
    margin-top: -3px;
    margin-right: 3px;
    width: 10px;
    height: 10px;
}

.footer {
    width: 100%;
    padding: 44px 0 22px;
    background-color: var(--bs-gray-800);
    color: white;
}

.footer * {
    color: #fff;
}

/* 页脚多栏区（规则统一带 .footer 前缀提权，才压得住上面 .footer * 的纯白兜底） */
.footer .ft-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 26px 24px;
    padding-bottom: 26px;
}
.footer .ft-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
/* 标题行统一行高与下边距，保证四列首行基线对齐 */
.footer .ft-logo,
.footer .ft-title {
    line-height: 26px;
    margin-bottom: 14px;
}
.footer .ft-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .5px;
}
.footer .ft-title {
    font-size: 15px;
    font-weight: 600;
}
.footer .ft-desc {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .6);
    margin: 0;
}
.footer .ft-col a {
    font-size: 13px;
    line-height: 2.05;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.footer .ft-col a:hover { color: #fff; }
.footer .ft-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 12.5px;
    color: rgba(255, 255, 255, .5);
}
.footer .ft-bottom a { color: rgba(255, 255, 255, .5); text-decoration: none; }
.footer .ft-bottom a:hover { color: #fff; }

@media (max-width: 768px) {
    .footer { padding: 30px 0 18px; }
    /* 列宽下限调小，窄屏自动排成两列（grid 自适应，不需要再写 flex 基准） */
    .footer .ft-main { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px 16px; }
}