/*
Theme Name: 学在广州
Theme URI: https://xuezai.net
Description: 升学规划、就业指导、家庭教育官方网站
Version: 1.0
Author: 学在广州
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
    scroll-behavior: smooth;
}
:root {
    --main: #1a56b1;
    --light: #eaf5ff;
    --white: #ffffff;
    --dark: #333;
    --gray: #666;
}
body {
    overflow-x: hidden;
    background-color: #f8f9fa;
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}
.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.site-brand .custom-logo {
    height: 36px;
    width: auto !important;
    max-height: 36px;
    max-width: 100%;
    object-fit: contain;
}
.site-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--main);
    letter-spacing: 1px;
}
.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: none;
    background: var(--light);
    color: var(--main);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10000;
    position: relative;
}
.menu-btn:hover {
    background: var(--main);
    color: #fff;
}
.nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 86, 177, 0.95);
    z-index: 9998;
    padding: 80px 30px;
}
.nav-links.show {
    display: block;
}
.nav-links ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nav-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-links a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    padding: 16px 10px;
    text-align: left;
    transition: 0.2s;
}
.nav-links a:hover {
    background: rgba(255,255,255,0.15);
}
.container {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}
.banner {
    background: linear-gradient(rgba(26,86,177,0.85),rgba(26,86,177,0.9));
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    border-radius: 0 0 12px 12px;
}
.banner h1 {
    font-size: 32px;
    margin-bottom: 20px;
}
.banner p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: var(--main);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.25s;
    border: none;
    cursor: pointer;
}
.section {
    padding: 30px 0;
}
.section-title {
    text-align: center;
    font-size: 26px;
    color: var(--main);
    margin-bottom: 35px;
    font-weight: 600;
}
.advantage-box,.card-box,.case-box,.review-box {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 20px;
}
.advantage-item,.card,.case-item,.review-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}
.card,.advantage-item,.case-item,.review-item {
    margin: 0 14px 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}
.faq-item {
    margin: 0 14px 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}
.faq-question {
    background: var(--white);
    padding: 14px 18px;
    font-weight: bold;
    color: var(--dark);
    cursor: pointer;
}
.faq-answer {
    padding: 14px 18px;
    color: var(--gray);
    display: none;
}
.faq-answer.show {
    display: block;
}
.bg-light {
    background: var(--light);
    border-radius: 12px;
}
input,textarea,select {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    background: #fff;
    font-size: 16px;
}
button {
    width: 100%;
    padding: 14px;
    background: var(--main);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    transition: 0.25s;
    cursor: pointer;
}
footer {
    background: var(--main);
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 20px;
}
footer a {
    color: #fff;
    text-decoration: none;
}
.consult-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
}
.consult-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
.modal-content {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    z-index: 10002;
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    padding: 0px;
    line-height: 30px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    z-index: 10;
}
.modal-close:hover {
    color: var(--main);
}
.modal-content h3 {
    color: var(--main);
    margin-bottom: 15px;
    font-size: 20px;
}
.qrcode-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin: 0 auto 15px;
    display: block;
}
.modal-content p {
    color: #333;
    margin: 5px 0;
    font-size: 14px;
}
.has-text-align-center{
    text-align: center;   
}
.text-justify{
    text-align: justify;   
}
.post-title a{
    text-decoration: none;
    color: var(--dark);
}
.btn-outline{
    border:1px solid #dedede;
    text-decoration: none;
    color: var(--dark);
}
.page-content .mt {
    margin-top: 15px;
}
