:root {
    --primary-color: #FCBB29;
    --primary-text-color: #383939;
}

@font-face {
    font-family: 'MiSans';
    src: url('/wp-content/themes/school/assets/fonts/MiSans-Medium.ttf') format('truetype'), /* 对于老版本的iOS */ url('/wp-content/themes/school/assets/fonts/MiSans-Medium.woff') format('woff'); /* 现代浏览器 */
url('/wp-content/themes/school/assets/fonts/MiSans-Medium.woff2') format('woff2'); /* 现代浏览器 */
    font-weight: 200;
}

@font-face {
    font-family: 'MiSansBold';
    src: url('/wp-content/themes/school/assets/fonts/MiSans-Demibold.ttf') format('truetype'), /* 对于老版本的iOS */ url('/wp-content/themes/school/assets/fonts/MiSans-Demibold.woff') format('woff'); /* 现代浏览器 */
url('/wp-content/themes/school/assets/fonts/MiSans-Demibold.woff2') format('woff2'); /* 现代浏览器 */
    font-weight: 200;
}

html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: 'MiSans', "Microsoft YaHei", Verdana, Arial, sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    color: var(--primary-text-color);
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

button {
    font-size: 16px;
}

.MiSans-bold {
    font-family: 'MiSans', "Microsoft YaHei", Verdana, Arial, sans-serif;
}

/*flex弹性盒子 S*/
.flex {
    display: flex;
}

.flex.align-items-center {
    align-items: center;
}

.flex.align-items-flex-start {
    align-items: flex-start;
}

.flex.align-items-flex-end {
    align-items: flex-end;
}

.flex.justify-content-space-between {
    justify-content: space-between;
}

.flex.justify-content-center {
    justify-content: center;
}

.flex.flex-direction-column {
    flex-direction: column;
}

.flex.justify-content-flex-end {
    justify-content: flex-end;
}

.flex.flex-wrap-wrap {
    flex-wrap: wrap;
}

.flex .align-self-flex-end {
    align-self: flex-end;
}

.gap-40 {
    gap: 40px;
}

/*flex弹性盒子 E*/

.loading-icon-box {
    position: fixed;
    width: 100px;
    height: 40px;
    top: 50%;
    margin-top: -20px;
    left: 50%;
    margin-left: -50px;
    z-index: 99;
    text-align: center;
    display: none;
}

@keyframes loading-icon {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

.loading-icon-box .loading-icon-item {
    width: 16px;
    height: 16px;
    background: darkorange;
    display: inline-block;
    margin: 0 5px;
    border-radius: 50%;
    animation: loading-icon 0.9s linear 0s infinite backwards;
    transform-origin: center;
}

.loading-icon-box .loading-icon-item:nth-child(2) {
    animation: loading-icon 0.9s linear 0.3s infinite backwards;
}

.loading-icon-box .loading-icon-item:nth-child(3) {
    animation: loading-icon 0.9s linear 0.6s infinite backwards;
}

.location-confirm-box {
    position: fixed;
    width: 400px;
    max-width: 90%;
    box-sizing: border-box;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    background: #fff;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 0 5px 0 #ddd;
    z-index: 0;
    transition: all 0.3s linear 0s;
    opacity: 0;
    visibility: hidden;
}

.location-confirm-box.show {
    opacity: 1;
    visibility: visible;
    z-index: 999;
}

.location-confirm-box .location-content {
    padding: 15px 0;
    color: #222;
}

.location-confirm-box .location-checkbox {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
    user-select: none;
}

.location-confirm-box .location-confirm-footer {
    text-align: right;
}

.location-confirm-box .location-confirm-footer button {
    padding: 5px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 5px;
}

.location-confirm-box .location-confirm-footer button.confirm {
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.location-confirm-box .location-confirm-footer button.cancel {
    border: 2px solid #ddd;
}

.scroll-top {
    position: fixed;
    bottom: calc(env(safe-area-inset-bottom) + 66px);
    bottom: calc(constant(safe-area-inset-bottom) + 66px);
    right: 10px;
    z-index: 1001;
    background: var(--primary-text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top img {
    width: 40%;
    display: block;
}

.msg-box {
    position: fixed;
    top: -50px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    padding: 12px 15px;
    font-size: 14px;
    font-weight: bold;
    min-width: 200px;
    border-radius: 5px;
    max-width: 90%;
    -webkit-transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -ms-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
    opacity: 0;
}

.msg-box.show {
    top: 20%;
    opacity: 1;
}

.msg-box.error {
    background: #fef0f0;
    border: 1px solid #fde2e2;
    color: #F56C6C;
}

.msg-box.success {
    background: #f0f9eb;
    border: 1px solid #e1f3d8;
    color: #67c23a;
}

/*筛选 S*/
.mobile-filter-box {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: transform 0.3s linear 0s;
    -moz-transition: transform 0.3s linear 0s;
    -ms-transition: transform 0.3s linear 0s;
    -o-transition: transform 0.3s linear 0s;
    transition: transform 0.3s linear 0s;
    background: #fff;
    z-index: 9;
}

.mobile-filter-box.hide {
    -webkit-transform: translateY(120%);
    -moz-transform: translateY(120%);
    -ms-transform: translateY(120%);
    -o-transform: translateY(120%);
    transform: translateY(120%);
}

.mobile-filter-box .progress-box {
    position: relative;
    height: 18px;
    background: rgba(252, 187, 41, 0.2);
}

.mobile-filter-box .progress-box .progress-value {
    position: absolute;
    font-size: 14px;
    height: 100%;
    background: var(--primary-color);
    color: #fff;
    text-align: right;
    width: 13%;
    left: 0;
    -webkit-transition: width 0.3s linear 0s;
    -moz-transition: width 0.3s linear 0s;
    -ms-transition: width 0.3s linear 0s;
    -o-transition: width 0.3s linear 0s;
    transition: width 0.3s linear 0s;
    padding-right: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mobile-filter-list-box {
    background: linear-gradient(to bottom, #fdf7e9, #fff);
    height: calc(100% - 18px);
    position: relative;
}

.mobile-filter-city-header {
    padding: 25px 15px 10px 15px;
    height: 90px;
    box-sizing: border-box;
}

.mobile-filter-header {
    padding: 25px 15px 15px 15px;
    box-sizing: border-box;
    height: 75px;
}

.mobile-filter-list-box .mobile-filter-title {
    font-family: 'MiSansBold', "Microsoft YaHei", Verdana, Arial, sans-serif;
}

.mobile-filter-city-header .mobile-filter-city-input {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 5px;
    position: relative;
}

.mobile-filter-city-header .mobile-filter-city-input input {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 30px;
    padding-right: 30px;
    padding-left: 10px;
    border: 1px solid var(--primary-color);
    border-radius: 3px;
}

.mobile-filter-city-header .mobile-filter-city-input input:focus {
    outline: 1px solid var(--primary-color);
    border: 1px solid var(--primary-color);
}

.mobile-filter-city-header .mobile-filter-city-input input::-webkit-input-placeholder {
    color: #999;
}

.mobile-filter-city-header .mobile-filter-city-input .search-img-box {
    position: absolute;
    right: 0;
    top: 0;
    height: 30px;
    width: 34px;
}

.mobile-filter-city-header .mobile-filter-city-input .search-img {
    width: 14px;
}

@keyframes filter-item-in {
    0% {
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transform: translateX(100%);
    }
    90% {
        -webkit-transform: translateX(-20px);
        -moz-transform: translateX(-20px);
        -ms-transform: translateX(-20px);
        -o-transform: translateX(-20px);
        transform: translateX(-20px);
    }
    100% {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes filter-item-out {
    0% {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
    10% {
        -webkit-transform: translateX(20px);
        -moz-transform: translateX(20px);
        -ms-transform: translateX(20px);
        -o-transform: translateX(20px);
        transform: translateX(20px);
    }
    100% {
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

.mobile-filter-list-item {
    background: linear-gradient(to bottom, #fdf7e9, #f1f5f8 200px);
    height: 100%;
    width: 100%;
    position: absolute;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
}

.mobile-filter-list-item.show {
    animation: filter-item-in 0.8s ease-in-out 0s alternate 1 forwards;
}

.mobile-filter-list-item.hide {
    animation: filter-item-out 0.8s ease-in-out 0s alternate 1 forwards;
}

.mobile-filter-city-body {
    height: calc(100% - 90px);
    font-size: 14px;
}

.mobile-filter-city-body .province-box {
    width: 90px;
    overflow: auto;
    height: 100%;
}

.mobile-filter-city-body .province-box .province-item {
    padding: 10px;
    text-align: center;
}

.mobile-filter-city-body .province-box .province-item.active {
    background: #fff;
}

.mobile-filter-city-body .city-box {
    flex: 1;
    background: #fff;
    overflow: auto;
}

.mobile-filter-city-body .city-box .city-item-box {
    padding: 10px;
}

.mobile-filter-city-body .city-box .city-item-box-title {
    margin-top: 10px;
    margin-bottom: 10px;
}

.mobile-filter-city-body .city-box .city-item {
    background: #f1f5f8;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
    padding: 6px 12px;
}

.mobile-filter-city-body .city-box .city-item .location-img {
    width: 14px;
    margin-right: 3px;
}

.mobile-filter-city-body .city-box .city-list {
    gap: 10px;
}

.mobile-filter-city-body .city-box .city-item-box.real {
    padding: 0 0 0 30px;
}

.mobile-filter-city-body .city-box .city-item-box .city-item-content {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.mobile-filter-city-body .city-box .city-item-box .city-item-content.active {
    position: relative;
}

.mobile-filter-city-body .city-box .city-item-box .city-item-content.active::after {
    display: block;
    content: '';
    width: 16px;
    height: 16px;
    background-image: url(/wp-content/themes/school/assets/images/gou.png);
    background-size: contain;
    position: absolute;
    right: 20px;
    top: 10px;
    background-repeat: no-repeat;
}

.mobile-filter-city-body .city-box .city-item-box .city-item-content.no {
    color: #999;
}

.mobile-filter-city-body .city-box .city-item-box .city-item-content-tip {
    padding: 20px 0 10px 0;
}

.search-city-box {
    position: fixed;
    top: 108px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 99;
    overflow: auto;
    font-size: 14px;
}

.search-city-box .search-city-result {
    background: #ffff;
    min-height: calc(100vh - 208px);
}

.search-city-box .search-city-result .search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.search-city-box .search-city-result .search-result-item.active {
    position: relative;
}

.search-city-box .search-city-result .search-result-item.active::after {
    display: block;
    content: '';
    width: 16px;
    height: 16px;
    background-image: url(/wp-content/themes/school/assets/images/gou.png);
    background-size: contain;
    position: absolute;
    right: 20px;
    top: 10px;
    background-repeat: no-repeat;
}

.search-city-box .search-city-result .search-result-item.no {
    color: #999;
}

.mobile-filter-type-box {
    padding: 0 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: calc(100% - 75px);
    overflow: auto;
}

.mobile-filter-type-box .mobile-filter-type-item {
    text-align: center;
    padding: 8px;
    background: #fff;
    margin-bottom: 12px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
}

.mobile-filter-type-box .mobile-filter-type-item.active {
    background: var(--primary-color);
}

.range-box {
    text-align: center;
}

.range-box .range-value-box {
    background: #c7c5c5;
    position: relative;
    margin-bottom: 10px;
    margin-top: 20px;
    height: 2px;
    cursor: pointer;
}

.range-box .range-value-box .range-value {
    position: absolute;
    background: var(--primary-color);
    height: 4px;
    width: 100%;
    cursor: pointer;
}

.range-box .range-value-box .rang-value-point {
    top: 0;
    margin-top: -8px;
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    position: absolute;
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard syntax */
}

.range-box .range-value-box .rang-value-point.left {
    left: 0;
}

.range-box .range-value-box .rang-value-point.right {
    left: calc(100% - 18px);
}

.range-box .range-label-box {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard syntax */
    color: #555;
}

.mobile-filter-choose-result {
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
}

.mobile-filter-choose-result .mobile-filter-choose-result-value {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

.mobile-filter-choose-result .mobile-filter-choose-result-value .right {
    color: var(--primary-color);
    min-width: 40px;
}

.mobile-filter-type-box.choose-result {
    padding-top: 13px;
}

.mobile-filter-list-item .result-btn {
    position: fixed;
    bottom: 30px;
    width: 80vw;
    left: 10vw;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    height: 42px;
    line-height: 42px;
    border-radius: 40px;
    color: var(--primary-text-color);
    font-family: 'MiSans', "Microsoft YaHei", Verdana, Arial, sans-serif;
}

.next-step-box {
    position: fixed;
    bottom: 48px;
    left: 10vw;
    width: 80vw;
    z-index: 100;
    display: none;
}

.next-step-box .result-btn {
    width: 80vw;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    height: 42px;
    line-height: 42px;
    border-radius: 40px;
    font-family: 'MiSans', "Microsoft YaHei", Verdana, Arial, sans-serif;
    color: var(--primary-text-color);
}

.no-data {
    text-align: center;
    color: #555;
    padding: 50px 0;
    user-select: none;
}

.no-data img {
    margin-bottom: 15px;
    width: 100px;
}

.no-more-school-data {
    text-align: center;
    user-select: none;
    color: #555;
    padding-top: 15px;
    padding-bottom: 15px;
}

.load-more-school-data {
    text-align: center;
    color: #555;
    padding-top: 15px;
    padding-bottom: 15px;
}

.load-more-school-data button {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.school-list-box .no-school-data {
    text-align: center;
    color: #555;
    padding: 30px 0;
    margin-top: 50px;
    user-select: none;
}

.school-list-box .no-school-data img {
    margin-bottom: 15px;
    width: 100px;
}

.loading-icon-box {
    position: fixed;
    width: 100px;
    height: 40px;
    top: 50%;
    margin-top: -20px;
    left: 50%;
    margin-left: -50px;
    z-index: 999;
    text-align: center;
    display: none;
}

@keyframes loading-icon {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

.loading-icon-box .loading-icon-item {
    width: 16px;
    height: 16px;
    background: darkorange;
    display: inline-block;
    margin: 0 5px;
    border-radius: 50%;
    animation: loading-icon 0.9s linear 0s infinite backwards;
    transform-origin: center;
}

.loading-icon-box .loading-icon-item:nth-child(2) {
    animation: loading-icon 0.9s linear 0.3s infinite backwards;
}

.loading-icon-box .loading-icon-item:nth-child(3) {
    animation: loading-icon 0.9s linear 0.6s infinite backwards;
}

/*筛选 E*/
/*学校列表 S*/
.school-list-box .school-list-box-header {
    height: 100px;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
}

.school-list-box .school-list-box-header .tip-box {
    height: 40px;
    line-height: 40px;
    background: #fcf4e1;
    text-align: center;
    color: var(--primary-text-color);
    font-size: 14px;
}

.school-list-box .school-list-box-header .tip-box .change-filter {
    text-decoration: underline;
}

.school-list-box .school-list-box-header .mobile-search-box {
    padding: 0 15px;
    background: #fff;
    gap: 10px;
    height: 60px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.school-list-box .school-list-box-header .mobile-search-input {
    position: relative;
    flex: 1;
}

.school-list-box .school-list-box-header .mobile-search-input input {
    border: 1px solid var(--primary-color);
    height: 36px;
    color: var(--primary-color);
    padding: 0 40px 0 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 16px;
    outline: 1px solid var(--primary-color);
    width: 100%;
}

.school-list-box .school-list-box-header .mobile-search-input input::-webkit-input-placeholder {
    color: #c8c8c8;
}

.school-list-box .school-list-box-header .mobile-search-input .content-search-icon {
    position: absolute;
    right: 0;
    width: 40px;
    height: 36px;
    top: 0;
}

.school-list-box .school-list-box-header .mobile-search-input .content-search-icon img {
    width: 18px;
}

.school-list-box .school-list-box-header .school-sort-box {
    min-width: 100px;
    width: 100px;
}

.school-list-box .school-list-box-header .select-box {
    position: relative;
}

.school-list-box .school-list-box-header .school-sort-box .select-value {
    border: 1px solid var(--primary-color);
    outline: 1px solid var(--primary-color);
    height: 36px;
    line-height: 36px;
    color: var(--primary-color);
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #fff;
    position: relative;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.school-list-box .school-list-box-header .school-sort-box .select-value::after {
    content: '';
    position: absolute;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--primary-color);
    right: 5px;
    top: 15px;
}

.school-list-box .school-list-box-header .select-box .select-ul {
    position: absolute;
    white-space: nowrap;
    background: #fff;
    right: 0;
    list-style: none;
    margin: 0;
    padding: 5px 10px;
    top: 100%;
    border: 1px solid var(--primary-color);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: none;
}

.school-list-box .school-list-box-header .select-box .select-ul li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.school-list-box .school-list-box-header .select-box .select-ul li.active {
    color: var(--primary-color);
}

.school-list-box .school-list-box-header .select-box .select-ul li:last-child {
    border-bottom: none;
}

.school-list-content-box {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: env(safe-area-inset-bottom);
    padding-bottom: constant(safe-area-inset-bottom);
}

.school-list-content-box .school-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    margin-top: 10px;
    gap: 20px;
}

.school-list-content-box .school-item .left {
    width: 100px;
}

.school-list-content-box .school-item .left .school-img {
    width: 100px;
    -webkit-box-shadow: 0 0 10px 5px #ddd;
    -moz-box-shadow: 0 0 10px 5px #ddd;
    box-shadow: 0 0 10px 5px #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.school-list-content-box .school-item .left .position-box {
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 5px;
}

.school-list-content-box .school-item .left .position-box img {
    width: 14px;
    margin-right: 5px;
}

.school-list-content-box .school-item .right {
    font-size: 14px;
    flex: 1;
}

.school-list-content-box .school-item .right .school-name {
    font-size: 16px;
    font-family: 'MiSansBold', "Microsoft YaHei", Verdana, Arial, sans-serif;
    font-weight: bold;
}

.school-list-content-box .school-item .right .school-en-name {
    font-family: 'MiSansBold', "Microsoft YaHei", Verdana, Arial, sans-serif;
}

.school-list-content-box .school-item .right .school-grade {
    margin-top: 10px;
    line-height: 20px;
    color: #333;
}

.school-list-content-box .school-item .right .school-curriculum {
    margin-top: 10px;
    line-height: 20px;
    color: #333;
}

.school-list-content-box .school-item .right .school-price {
    margin-top: 10px;
    line-height: 20px;
    color: #333;
}

.school-list-content-box .school-item .right .school-price span {
    color: var(--primary-color);
    font-size: 18px;
}

.school-list-content-box .school-item .right .school-read-more {
    text-align: right;
    margin-top: 20px;
}

.school-list-content-box .school-item .right .school-read-more a {
    background: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-decoration: none;
}

.school-list-content-box .school-item .right .school-read-more a img {
    width: 14px;
    margin-left: 5px;
}

/*学校列表 E*/
/*404页面 S*/
.not-found-box {
    text-align: center;
    padding: 50px 0;
}

.not-found-box h1 {
    font-size: 40px;
}

.not-found-box a {
    color: var(--primary-color);
}

/*404页面 E*/
/*学校详情页 S*/
.mobile-school-detail-box {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    background: linear-gradient(to bottom, #d9e2e9, #fff 300px);
    font-size: 14px;
    padding-bottom: calc(env(safe-area-inset-bottom) + 66px);
    padding-bottom: calc(constant(safe-area-inset-bottom) + 66px);
}

.mobile-school-detail-box .school-image-box {
    gap: 2px;
    max-height: 200px;
}

.mobile-school-detail-box .school-image-box .img {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.mobile-school-detail-box .school-image-box .left {
    width: 65%;
}

.mobile-school-detail-box .school-image-box .left .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-school-detail-box .school-image-box .right {
    width: 35%;
    gap: 2px;
}

.mobile-school-detail-box .school-image-box .right .top {
    flex: 1;
    overflow: hidden;
}

.mobile-school-detail-box .school-image-box .right .top .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-school-detail-box .school-image-box .right .bottom {
    gap: 2px;
    max-height: 50%;
}

.mobile-school-detail-box .school-image-box .right .bottom .img {
    width: calc(50% - 1px);
}

.mobile-school-detail-box .school-name-and-city {
    gap: 10px;
    margin-top: 10px;
}

.mobile-school-detail-box .school-name-and-city .left {
    flex: 1;
}

.mobile-school-detail-box .school-name-and-city .school-name {
    font-weight: bold;
    font-size: 18px;
}

.mobile-school-detail-box .school-name-and-city .position-box {
    color: var(--primary-color);
    padding-top: 5px;
}

.mobile-school-detail-box .school-name-and-city .position-box .img {
    width: 16px;
    margin-right: 5px;
}

.mobile-school-detail-box .school-grade-and-price {
    color: #222;
    margin-top: 5px;
}

.mobile-school-detail-box .school-grade-and-price .left {
    flex: 1;
}

.mobile-school-detail-box .school-grade-and-price .right span {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

.mobile-school-detail-box .nav-box-head {
    margin-top: 15px;
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
}

.mobile-school-detail-box .nav-box-head .slide-line {
    position: absolute;
    height: 2px;
    width: 62px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: all 0.3s linear 0s;
}

.mobile-school-detail-box .nav-box-head .nav-head-item {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    color: #000;
    font-weight: 500;
    border-bottom: 2px solid #ddd;
    text-decoration: none;
}

.mobile-school-detail-box .nav-box-head .nav-head-item.active {

}

.mobile-school-detail-box .nav-panel {
    color: #555;
}

.mobile-school-detail-box .nav-panel .nav-panel-item {
    width: 100%;
}

.mobile-school-detail-box .nav-panel .nav-panel-item .nav-title {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
}

.mobile-school-detail-box .nav-panel .nav-panel-item .nav-content {
    line-height: 26px;
    margin-top: 10px;
    padding: 0;
}

.mobile-school-detail-box .nav-panel .nav-panel-item .nav-content .more-content {
    display: none;
}

.mobile-school-detail-box .nav-panel .nav-panel-item .nav-content.school-list-content-box {
    line-height: unset;
}

.mobile-school-detail-box .nav-panel .nav-panel-item .nav-content .school-name {
    color: #000;
}

.mobile-school-detail-box .nav-panel .nav-panel-item .nav-content .load-more {
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-school-detail-box .school-property-box.blue {
    background: #f1f5f8;
}

.mobile-school-detail-box .school-property-box .school-property-item {
    position: relative;
    width: 25%;
    padding: 15px 5px;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mobile-school-detail-box .school-property-box .school-property-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15px;
    width: 1px;
    height: calc(100% - 30px);
    background: #000;
}

.mobile-school-detail-box .school-property-box .school-property-item:last-child::after {
    display: none;
}

.mobile-school-detail-box .school-property-box .school-property-item .value {
    color: var(--primary-color);
    font-weight: bold;
}

.mobile-school-detail-box .school-property-box .school-property-item .name {
    margin-top: 3px;
}

.block-blank {
    width: 100%;
    height: 2px;
    background: #ddd;
    margin: 15px 0;
}

/*学校详情页 E*/
/*评论 S*/
.school-comment-box {
    margin-top: 15px;
}

.school-comment-box .avg-box {
    margin-bottom: 15px;
}

.school-comment-box .avg-box .left {
    color: var(--primary-color);
    font-size: 40px;
    flex: unset;
    margin-right: 15px;
}

.school-comment-box .start-box img {
    width: 14px;
    height: 14px;
    margin: 0 3px;
}

.school-comment-box .start-box .mobile img {
    width: 20px;
    height: 20px;
}

.school-comment-box .avg-box .right .start-tip {
    font-size: 14px;
    color: var(--primary-color);
}

.school-comment-box .comment-list .comment-item {
    background-size: 100% 100%;
    padding: 15px;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    margin-bottom: 35px;
    position: relative;
}

.school-comment-box .comment-list .comment-item::after {
    content: '';
    display: block;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--primary-color);
    position: absolute;
    bottom: -15px;
    right: 30px;
    opacity: 0.5;
}

.school-comment-box .comment-list .comment-item::before {
    content: '';
    display: block;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #fff;
    position: absolute;
    bottom: -13px;
    right: 30px;
    z-index: 1;
}

.school-comment-box .comment-list .comment-item .comment-head .left img {
    width: 32px;
}

.school-comment-box .comment-list .comment-item .comment-head .left .user-name {
    margin-left: 10px;
    color: #555;
}

.school-comment-box .deal-comment-box .left img {
    width: 32px;
}

.school-comment-box .deal-comment-box .left .user-name {
    margin-left: 10px;
    color: #555;
}

.school-comment-box .comment-list .comment-item .comment-head .comment-score {
    color: var(--primary-color);
    font-weight: bold;
    margin-left: 5px;
}

.school-comment-box .comment-list .comment-item .comment-content {
    margin-top: 15px;
}

.school-comment-box .deal-comment-box {
    margin-top: 15px;
}

.school-comment-box .deal-comment-box .left img {
    width: 32px;
}

.school-comment-box .deal-comment-box .left .user-name {
    margin-left: 10px;
    color: #555;
}

.school-comment-box .deal-comment-box .comment-input {
    margin-top: 15px;
}

.school-comment-box .deal-comment-box .comment-input textarea {
    width: 100%;
    border: 1px solid var(--primary-color);
    padding: 10px;
    box-sizing: border-box;
    border-radius: 8px;
    font-family: 'MiSans', "Microsoft YaHei", Verdana, Arial, sans-serif;
}

.school-comment-box .deal-comment-box .comment-input textarea:focus {
    border: 1px solid var(--primary-color);
}

.school-comment-box .deal-comment-box .comment-submit {
    text-align: right;
    margin-top: 5px;
}

.school-comment-box .deal-comment-box .comment-submit .btn {
    background-color: var(--primary-color);
    color: #fff;
    margin-left: 10px;
    padding: 5px 20px;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.school-comment-box .deal-comment-box .star {
    cursor: pointer;
}

.school-comment-box .deal-comment-box .comment-score {
    color: var(--primary-color);
    font-weight: bold;
    margin-left: 5px;
    width: 40px;
}

/*评论 E*/
/*查看图片 S*/
.preview-img-box {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    overflow: auto;
    transition: opacity 0.3s linear 0s, visibility 0.3s linear 0s;
    transform-origin: center;
    opacity: 0;
    visibility: hidden;
}

.preview-img-box.show {
    opacity: 1;
    visibility: visible;
}

.preview-img-box img {
    max-width: 95%;
    max-height: 95%;
    transition: transform 0.3s linear 0s;
    transform-origin: center;
    transform: scale(0);
}

.preview-img-box.show img {
    transform: scale(1);
}

.preview-img-box .preview-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 25px;
    height: 25px;
    z-index: 1;
}

.preview-img-box .preview-close::before {
    content: '';
    width: 30px;
    height: 2px;
    background: #fff;
    display: block;
    transform: rotate(45deg) translate(9px, 10px);
    transform-origin: center;
}

.preview-img-box .preview-close::after {
    content: '';
    width: 30px;
    height: 2px;
    background: #fff;
    display: block;
    transform: rotate(-45deg) translate(-8px, 8px);
    transform-origin: center;
}

/*查看图片 E*/
/*表单 S*/
.school-submit-form-box {
    position: fixed;
    z-index: 1000;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
}

.block-editor-iframe__body .school-submit-form-box {
    display: block !important;
    position: unset !important;
    background: unset;
}

.school-submit-form-box.show {
    display: flex;
}

.school-submit-form-box .wp-block-group__inner-container {
    background: #fff;
    max-height: 100vh;
    overflow: auto;
    border-radius: 10px;
    padding: 25px;
    box-sizing: border-box;
    width: 400px;
    position: relative;
}

.school-submit-form-box .wp-block-group__inner-container .close-school-form-img {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.block-editor-iframe__body .school-submit-form-box .wp-block-group__inner-container .close-school-form-img {
    position: unset !important;
}

.school-submit-form-box .wp-block-group__inner-container .close-school-form-img img {
    width: 100%;
}

.block-editor-iframe__body .school-submit-form-box .wp-block-group__inner-container {
    background: #fff;
    max-height: 100vh;
    overflow: auto;
    border-radius: 10px;
    padding: 25px;
    box-sizing: border-box;
    width: unset !important;
}

.school-submit-form-box .wp-block-group__inner-container::-webkit-scrollbar {
    width: 0; /* 设置滚动条的宽度 */
}

.school-submit-form-box .wp-block-group__inner-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-color); /* 设置滑块的颜色 */
    border-radius: 5px; /* 设置滑块的圆角 */
}

.school-submit-form-box .wp-block-group__inner-container input[type=text], .school-submit-form-box .wp-block-group__inner-container input[type=email] {
    width: 100%;
    height: 36px;
    box-sizing: border-box;
    margin-top: 5px;
    padding: 5px 15px;
}

.school-submit-form-box .wp-block-group__inner-container input[type=submit] {
    background: var(--primary-color);
    padding: 10px 25px;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 5px;
}

.school-submit-form-box .wp-block-group__inner-container textarea {
    padding: 5px 15px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
    font-family: 'MiSans', "Microsoft YaHei", Verdana, Arial, sans-serif;
    height: 100px;
}

.fixed-bottom-box {
    position: fixed;
    z-index: 999;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 15px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: max(env(safe-area-inset-bottom), 15px);
    padding-bottom: max(constant(safe-area-inset-bottom), 15px);
    text-align: right;
    background: #fff;
    -webkit-box-shadow: 0 5px 10px 8px #ddd;
    -moz-box-shadow: 0 5px 10px 8px #ddd;
    box-shadow: 0 5px 10px 8px #ddd;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.fixed-bottom-box button {
    background: #d54415;
    color: #fff;
    padding: 0 15px;
    height: 36px;
    border: 1px solid #d54415;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

/*表单 E*/
/*登录 S*/
.login-box {
    background: linear-gradient(to bottom, #fefbf1, #fff 100px);
}

.login-box .login-form {
    width: 85%;
}

.login-box .logo-img {
    width: 180px;
    margin: 40px auto;
}

.login-box .logo-img img {
    width: 100%;
}

.login-box .tab-header {
    width: 200px;
    margin: 0 auto;
}

.login-box.reset-password .tab-header {
    width: 100%;
    margin: 0 auto;
}

.login-box .tab-title {
    color: #555;
    text-align: center;
    cursor: pointer;
}

.login-box .tab-title.active {
    position: relative;
    font-size: 18px;
    color: #000;
}

.login-box .tab-box .tab-header .tab-title.active::after {
    content: '';
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -8px;
    position: absolute;
    left: 50%;
    margin-left: -15px;
}

.login-form a {
    text-decoration: none;
}

.login-form .form-item {
    margin-bottom: 20px;
}

.login-form .tab-box .tab-header {
    margin-bottom: 40px;
    margin-top: 5px;
}

.login-form .tab-box .tab-header .tab-title {
    flex: 1;
    color: #555;
    text-align: center;
    cursor: pointer;
}

.login-form .tab-box .tab-header .tab-title.active {
    position: relative;
    font-size: 18px;
    color: #000;
}

.login-form .tab-box .tab-header .tab-title.active::after {
    content: '';
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -8px;
    position: absolute;
    left: 50%;
    margin-left: -15px;
}

.login-form .form-item input {
    width: 100%;
    border-bottom: 1px solid var(--primary-color);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    height: 38px;
    box-sizing: border-box;
    color: #555;
    outline: none;
}

.login-form .form-item .login-btn {
    width: 100%;
    margin-top: 15px;
    height: 38px;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--primary-text-color);
    border-radius: 5px;
    cursor: pointer;
}

.login-form .form-item.forget-password {
    text-align: center;
}

.login-form .form-item.forget-password a {
    color: var(--primary-color);
}

.login-form .form-item-privacy a {
    color: var(--primary-color);
}

.login-a {
    background-color: var(--primary-color);
    color: #fff;
    margin-left: 10px;
    padding: 3px 10px;
    border-radius: 5px;
}

/*登录 E*/
/*首页 S*/
@supports(clip-path: circle(100% at 100% 0%)) {
    @keyframes scale {
        from {
            clip-path: circle(100% at 95% 3%);
        }

        to {
            clip-path: circle(0 at 95% 3%);
        }
    }
}

@supports not (clip-path: circle(100% at 100% 0%)) {
    @keyframes scale {
        from {
            opacity: 1;
            visibility: visible;
        }

        to {
            opacity: 0;
            visibility: hidden;
            transform: scale(1.1)
        }
    }
}

.start-popup-box {
    text-align: center;
    position: fixed;
    background: #fff;
    z-index: 1000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform-origin: center;
    overflow: hidden;
    display: none;
    align-items: center;
    justify-content: center;
}

.start-popup-box.hidden {
    animation: scale 0.4s linear 0s 1 forwards;
    pointer-events: none;
}

.start-popup-box .start-popup-logo {
    width: 120px;
    display: block;
    margin: 0 auto;
}

.start-popup-box .start-popup-door {
    width: 95%;
    display: block;
    margin: 0 auto;
    padding-top: 45px;
max-width:400px;
}

.start-popup-box .start-popup-btn {
    background: #333;
    color: #fff;
    margin: 15px auto;
    display: inline-block;
    padding: 8px 25px;
    font-size: 16px;
    border-radius: 25px;
    position: relative;
}
.start-popup-box .start-popup-btn .after {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 0;
    height: 100%;
    left: 0;
    top: 0;
    transition: width 1s linear 0s;
}
.start-popup-box .start-popup-text{
    padding-top: 5px;
    color: var(--primary-text-color);
    font-weight: 600;
}
@keyframes translate {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(8px);
    }

    50% {
        transform: translateX(0);
    }

    75% {
        transform: translateX(-8px);
    }

    100% {
        transform: translateX(0);
    }
}

.mobile-school-home-box {
    box-sizing: border-box;
    position: relative;
    background: #f5f5f5;
min-height: 100%;
}

.bg-img {
    position: absolute;
    width: 100%;
    min-height: 100%;
    top: 0;
    object-fit: cover;
    max-height: 800px;
}

.home-content-box {
    position: relative;
}

.home-content-top {
    padding: 40px 20px 0 20px;
}

.home-content-top .title {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
}

.home-tip-box {
    margin-top: 15px;
}

.home-tip-box .tip-item {
    color: var(--primary-color);
    background: var(--primary-text-color);
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 2px 8px;
}

.home-content-top .title-2 {
    font-weight: bold;
    margin: 10px 0;
    font-size: 18px;
}

.home-content-bottom {
    display: flex;
    padding: 5px 13px;
    gap: 10px;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
}

.home-content-bottom .entry-item {
    background: #fff;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 10px 15px 5px 10px;
    flex-basis: calc(50% - 5px);
    display: flex;
    flex-direction: column;
}

.home-content-bottom .entry-item.bg-orange {
    background: var(--primary-color);
    display: block;
    color: var(--primary-text-color);
    text-decoration: none;
}

.home-content-bottom .entry-item .entry-item-top {
    flex: 1;
}

.home-content-bottom .entry-item .entry-item-top .title {
    font-weight: bold;
    margin-bottom: 5px;
}

.home-content-bottom .entry-item .entry-item-top .content {
    font-size: 11px;
    color: #999;
}

.home-content-bottom .entry-item .entry-item-bottom {
    text-align: right;
}

.home-content-bottom .entry-item .entry-item-bottom .img {
    width: 25px;
}

.home-content-bottom .entry-item .entry-item-bottom .img.translate {
    animation: translate 2.5s linear 0s infinite;
}
/*首页 E*/